php4 and mod_php4 on the same system?

Matt Emmerton matt at gsicomp.on.ca
Tue Apr 26 10:37:16 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.

I found that out after a more careful examination of the port's Makefile.
I deinstall www/mod_php4, installed lang/php4 and now everything is working
perfectly.

Thanks!
--
Matt



More information about the freebsd-ports mailing list