php4 and mod_php4 on the same system?

Fred Condo fred at tincture.us
Mon Apr 25 20:45:30 PDT 2005


On Apr 25, 2005, at 5:35 PM, Matt Emmerton wrote:

> [ Please cc me since I don't track the -ports list ]
>
> I'm trying to figure out how I can install both php4 and mod_php4 on a
> production web server.
>
> We have a custom web application written in PHP and is served up with
> mod_php4.
> We also have some daily batch processing for this application that is
> cron-driven and needs to use some of the common PHP code that the web 
> app
> uses in order to accomplish its tasks.
>
> Thus, I'd want to install lang/php4 and www/mod_php4 on our production 
> web
> server -- but the current ports won't allow it due to the CONFLICT
> mechanism.
>
> What are the dangers of overriding the CONFLICT mechanism in the ports
> subsystem so that I can install both?

No need to install both: lang/php4 also installs the Apache module. If 
you really want to install them separately, you might be able to use 
lang/php4-cli and www/mod_php4.



More information about the freebsd-ports mailing list