[csw-users] problems when trying to add PEAR modules

Gérard Henry ghenry at cmi.univ-mrs.fr
Tue Jun 27 16:14:10 CEST 2006


hello all,
i need to install a new app (based on spip) which need PEAR modules.
My web server is apache from blastwave, and in httpd.conf, i have:
LoadModule php4_module        /opt/csw/lib/php/sapi/apache1-libphp4.so

this module come from CSWphp4cgi.
So i tried to use pear from this module, and got:
w2100-root% /opt/csw/bin/pear
PHP Notice:  Constant FORCE_GZIP already defined in Unknown on line 0
PHP Notice:  Constant FORCE_DEFLATE already defined in Unknown on line 0
PHP Warning:  Function registration failed - duplicate name - readgzfile
in Unknown on line 0
...
Warning: main(Console/Getopt.php): failed to open stream: No such file
or directory in System.php on line 27
PHP Fatal error:  main(): Failed opening required 'Console/Getopt.php'
(include_path='/opt/csw/lib/php') in /opt/csw/lib/php/System.php on line 27


every package was up to date.

Any idea?

thanks in advance,

gerard



More information about the users mailing list