Product:
Search Type:

[FIX] Horde webmail stops working after installation of Zend Optimizer or manual PHP installation

Article ID: 3041 
Last Review: Nov,06 2007
APPLIES TO:
  • Plesk for Windows

SYMPTOMS

After installation of Zend Optimizer or manual PHP installation Horde webmail stops to work.

The following error is displayed when trying to browse webmail website:

Warning
: main(PEAR.php): failed to open stream: No such file or directory in C:\Inetpub\vhosts\webmail\horde\lib\core.php on line 26

Warning
: main(): Failed opening 'PEAR.php' for inclusion (include_path='C:\Inetpub\vhosts\webmail\horde\lib;.;./includes;./pear') in C:\Inetpub\vhosts\webmail\horde\lib\core.php on line 26

Warning: main(Log.php): failed to open stream: No such file or directory in C:\Inetpub\vhosts\webmail\horde\lib\Horde.php on line 3

Warning: main(): Failed opening 'Log.php' for inclusion (include_path='C:\Inetpub\vhosts\webmail\horde\lib;.;./includes;./pear') in C:\Inetpub\vhosts\webmail\horde\lib\Horde.php on line 3

Warning: _connect(DB.php): failed to open stream: No such file or directory in C:\Inetpub\vhosts\webmail\horde\lib\Horde\DataTree\sql.php on line 1255

Fatal error: _connect(): Failed opening required 'DB.php' (include_path='C:\Inetpub\vhosts\webmail\horde\lib;.;./includes;./pear') in C:\Inetpub\vhosts\webmail\horde\lib\Horde\DataTree\sql.php on line 1255


CAUSE

PHP and Zend installers force PHP to use a default configuration file for all applications, but horde uses a special configuration file which is placed to its folder.

RESOLUTION

Please open regedit and clean up the default configuration location by removing the following key:

HKEY_LOCAL_MACHINE\SOFTWARE\php\IniFilePath


Additional information

Please see also http://kb.swsoft.com/en/975

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
*Please type the code you can see.
* - required fields