php conflict

Started by timm, September 30, 2004, 04:27:46 AM

Previous topic - Next topic

timm

Just wondering if anyone else has experience with conflicts in ports collection, I dont want to break the current install but using pkg_delete.

# make install
===>  Installing for php4-4.3.8_2

===>  php4-4.3.8_2 conflicts with installed package(s):
     php4-cgi-4.3.6

     They install files into the same place.
     Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/lang/php4.

php4-cgi has alot of ports which depend on it.

Cheers

LogicX

timm


===>  php4-4.3.8_2 conflicts with installed package(s):
     php4-cgi-4.3.6

php4-cgi has alot of ports which depend on it.



You must choose how you'd like to run PHP -- either as an apache module, or as a CGI script for apache to pass php scripts through.  Currently you're doing it the CGI method.  This is useful is you want to do crazy stuff like suphp (security whatnot)

However, I believe the most efficient way is to compile it non-cgi -- so its an apache module.

You should be safe in removing the cgi package, installing the apache module package -- it should modify your apache config for you;
Post if you have further problems.
--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com