• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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