2006. 8. 1. 14:04

Mod_php4 설치후 PHP4-pear설치시 CLI-CGI관련에러발생시

===> Verifying install for pear in /usr/ports/devel/php4-pear
This port requires the CLI or the CGI version of PHP, but you have
already installed a conflicting PHP port without them.
*** Error code 1

Stop in /usr/ports/devel/php4-pear.
*** Error code 1

Stop in /usr/ports/archivers/pear-Archive_Tar.
*** Error code 1

Stop in /usr/ports/devel/pear-PEAR.
*** Error code 1

Stop in /usr/ports/devel/pear-Date.
*** Error code 1

Stop in /usr/ports/www/horde2.



Are there any suggestions on how to update php, for horde to work, withough affecting what I have already done?

Jon on September 14, 2004 at 1:59:05 pm MST
Horde requires the PHP command line interface to work with pear. mod_php4 is only the web module so pear will not work with it. What you will want to do is:

cd /usr/ports/www/mod_php4
make deinstall clean
cd /usr/ports/lang/php4
make install clean

That will remove the web module and install PHP with the CLI and the web module. All of your php extensions and configuration files should still be intact.

I will edit the guide to make a note of this issue.