Apache and PHP Causes Horde Errors
Monday, October 13th, 2008It’s always PITA when comes to situation where you want to upgrade an application on old / out dated Linux box. We came across to a situation where Horde is giving error, where actually PHP is the culprit who caused the problem.
Problem:
While configuring latest version of horde on an old Linux Box, test.php failed with error message shown in Apache Error Log:
PHP Fatal error: Failed opening required ‘Horde/String.php’ (include_path=’/my/document/root/path/horde/libPATH_SEPARATOR/my/document/root/path/horde/lib:/my/document/root/path/horde:/my/document/root/path/horde/pear’) in /my/document/root/path/horde/lib/Horde/NLS.php on line 9″
Solution:
Link pear directory to /c/program/my_document/horde/ and add the following line to Apache Virtual Host :
php_admin_value include_path “.:/my/document/root/path/horde/lib:/my/document/root/path/horde:/my/document/root/path/horde/pear”
Guess it will temporary solve the problem but to solve it permanent it, upgrade the Linux box to FreeBSD ![]()