Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Greg Zartman on July 15, 2003, 08:26:03 PM
-
I'm hoping one of the php gurus can shed some light on an ongoing issue. I've attempted to upgrade SME 5.6 php to a more current version. After installing Dan Brown's php-4.3.2 rpms I get the following errors in /var/log/messages. Note that I did install the pear Log package and expanded the /etc/php.ini template.
Thanks.
Greg
Jul 15 08:04:54 eccserver httpd: PHP Warning: write(Crypt/HCEMD5.php): failed to open stream: No such file or directory in /home/httpd/html/horde/lib/Secret$
Jul 15 08:04:54 eccserver httpd: PHP Warning: write(): Failed opening 'Crypt/HCEMD5.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/htm$
Jul 15 08:04:54 eccserver httpd: PHP Fatal error: Cannot instantiate non-existent class: crypt_hcemd5 in /home/httpd/html/horde/lib/Secret.php on line 41
Jul 15 08:05:00 eccserver httpd: PHP Warning: write(Crypt/HCEMD5.php): failed to open stream: No such file or directory in /home/httpd/html/horde/lib/Secret$
Jul 15 08:05:00 eccserver httpd: PHP Warning: write(): Failed opening 'Crypt/HCEMD5.php' for inclusion (include_path='.:/usr/share/pear') in /home/httpd/htm$
Jul 15 08:05:00 eccserver httpd: PHP Fatal error: Cannot instantiate non-existent class: crypt_hcemd5 in /home/httpd/html/horde/lib/Secret.php on line 41
-
Further to my first post, I seem to be having a problem with pear (not sure if this helps shed some light on the issue):
Jul 15 08:45:24 eccserver php: PHP Fatal error: Failed opening required 'PEAR.php' (include_path='.:/usr/share/php') in /usr/bin/pear on line 27
I get this error log entry in /var/log/message when I attempt to execute /usr/bin/pear
Thanks
Greg
-
My bad, I left out a step. You need to change the include_path in php.ini to '.:/usr/share/pear'.
-
Thanks Dan. That seems to have solved 90% of the issue. Is there another path varable that tells pear which packages are installed. When I do a pear list-installed, I get nothing. However, when I list the contents of /usr/share/pear I show several pear libs.
Thanks.
Greg
-
OK, I solved the problem:
Seems that a few pear libraries used in Horde 2.0 don't exists anymore; the major one being Crypt_HCEMD5. When I upgraded to the the current php, I lost the Crypt_HCEMD5 package. An upgrade to Horde 2.2+ should solve the problem.
Regrards,
Greg Zartman