The Network People Support Forums

Mail::Toaster => Installation Issues => Topic started by: timm on September 30, 2004, 04:27:46 AM

Title: php conflict
Post by: timm on September 30, 2004, 04:27:46 AM
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
Title: Re: php conflict
Post by: LogicX on September 30, 2004, 11:31:32 AM
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.