php5 and apache2?

Crispy Beef crispy.beef at
Fri Jan 13 01:59:57 PST 2006

> I had the same problem before. I suppose you used portupgrade to install 
> binary packages, right?
> The php5 package depends on apache13, this is why portupgrade installed 
> apache13.
> You should deinstall php5 and apache13. Then refresh your ports tree. 
> Finally, reinstall php5 from the ports:
> cd /usr/ports/lang/php5
> make
> make install
> cd /usr/ports/lang/php5-extensions
> make
> make install

Might also be a good idea to delete the php5 options file first too.  It's 
located here:


There's one for php5-extensions too.

Normally the settings in these files are taken from doing a 'make config' so 
if you want to start totally from scratch you probably want to ditch those too.

Hope this helps a little.


More information about the freebsd-questions mailing list