• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Horde can't find PEAR.php

T

thedust2010

Guest
Pulling up Horde Webmail brings the following errors:

Code:
Warning: include_once(PEAR.php) [function.include-once]: failed to open stream: No such file or directory in /usr/share/psa-horde/lib/core.php on line 46

Warning: include_once() [function.include]: Failed opening 'PEAR.php' for inclusion (include_path='/usr/share/psa-horde:/usr/share/psa-pear:/usr/share/psa-horde/lib:.') in /usr/share/psa-horde/lib/core.php on line 46

Warning: include_once(Log.php) [function.include-once]: failed to open stream: No such file or directory in /usr/share/psa-horde/lib/Horde.php on line 3

Warning: include_once() [function.include]: Failed opening 'Log.php' for inclusion (include_path='/usr/share/psa-horde:/usr/share/psa-pear:/usr/share/psa-horde/lib:.') in /usr/share/psa-horde/lib/Horde.php on line 3

Fatal error: Class 'PEAR' not found in /usr/share/psa-horde/lib/Horde/Registry.php on line 878

It appears PEAR.php is now located at /usr/share/psa-horde/pear, which is not included in the include_path for Horde. I tried editing the include_path in /etc/httpd/conf.d/zz010_psa_httpd.conf, but it didn't update the setting (and yes, I restarted Apache).

I'm tempted to just copy the files over to the correct location. Does anyone have any more elegant solutions?
 
I figured out a fix... include_path appeared multiple times in /etc/httpd/conf.d/zz010_psa_httpd.conf and I hadn't changed all of the instances. Once I did webmail was working again.
 
Follow-Up Issue

I've found that changes I make to /etc/httpd/conf.d/zz010_psa_httpd.conf get automatically overwritten the following day. Any way to prevent this?
 
Back
Top