[horde] PHP Eaccelerator 0.9.6 breaks my Horde install

Simon Wilson simon at simonandkate.net
Thu Jun 6 12:45:27 UTC 2013


Doing a dummy run "pear upgrade -a -p -c horde" tells me (amongst  
other things!) that:

"horde/Horde_Cache can optionally use PHP extension "eaccelerator"  
(version >= 0.9.5)"

I use APC cache at the moment, and live with the occasional segfaults  
it gives by automatically restarting apache when it does it, so when I  
saw that I thought I'd install eaccelerator and see if it works better.

So - yum install php-eaccelerator installed  
php-eaccelerator-0.9.6.1-1.el6.x86_64 from EPEL repository. Cool I  
thought - that satisfies (version >= 0.9.5).

As soon as it is installed and apache restarted - Horde breaks with a  
500 error message in browser. Httpd error log messages include:

[Thu Jun 06 22:19:27 2013] [error] [client 192.168.1.155] PHP Warning:  
  Invalid callback Horde_ErrorHandler::errorHandler, class  
'Horde_ErrorHandler' not found in /usr/share/pear/Services/Weather.php  
on line 167, referer:  
https://mail.simonandkate.net/imp/dynamic.php?page=mailbox
[Thu Jun 06 22:19:27 2013] [error] [client 192.168.1.155] PHP  
Deprecated:  Assigning the return value of new by reference is  
deprecated in /usr/share/pear/Services/Weather.php on line 167,  
referer: https://mail.simonandkate.net/imp/dynamic.php?page=mailbox
[Thu Jun 06 22:19:27 2013] [error] [client 192.168.1.155] PHP Fatal  
error:  Call to a member function getApp() on a non-object in  
/usr/share/pear/Horde/Core/Log/Logger.php on line 119, referer:  
https://mail.simonandkate.net/imp/dynamic.php?page=mailbox
[Thu Jun 06 22:19:27 2013] [error] [client 192.168.1.155] PHP Fatal  
error:  Call to a member function set() on a non-object in  
/usr/share/pear/Horde/Core/LoginTasks/Backend/Horde.php on line 55,  
referer: https://mail.simonandkate.net/imp/dynamic.php?page=mailbox
[Thu Jun 06 22:19:30 2013] [error] [client 192.168.1.155] PHP Fatal  
error:  Call to a member function getApp() on a non-object in  
/usr/share/pear/Horde/Core/Log/Logger.php on line 119, referer:  
https://mail.simonandkate.net/imp/dynamic.php?page=mailbox
[Thu Jun 06 22:19:30 2013] [error] [client 192.168.1.155] PHP Fatal  
error:  Call to a member function set() on a non-object in  
/usr/share/pear/Horde/Core/LoginTasks/Backend/Horde.php on line 55,  
referer: https://mail.simonandkate.net/imp/dynamic.php?page=mailbox

No change in Horde config, just stops working with it installed.  
Uninstall it and restart apache, Horde comes back to life.

I then noticed when you select eaccelerator on Horde Configuration  
Caching page it says that eaccelerator must be 0.9.5 or LOWER, stating  
"eAccelerator must be built with --with-eaccelerator-shared-memory at  
compile time to allow caching. WARNING: The cache functionality has  
been removed with eAccelerator version 0.9.6. If you want to use the  
eAccelerator cache driver, you need version 0.9.5 or lower."

So a question - Only 0.9.5 satisfies both the stated pear requirement  
message and the message stated on the config page... if the cache  
functionality has been removed with 0.9.6 then what else can  
Horde_Cache "optionally use > 0.9.5" for, or should that optional  
dependency be changed to be (version <= 0.9.5) instead of (version >=  
0.9.5)?

And that's beside wondering why just having it installed completely  
breaks my install... :)

Simon

--
Simon Wilson
M: 0400 12 11 16
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: PGP Digital Signature
URL: <http://lists.horde.org/archives/horde/attachments/20130606/a7726602/attachment.bin>


More information about the horde mailing list