• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.

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