Re: Server Overload
No the zen optimizer is not an opcode cache, it’s just another keyhole optimizer. eAccelerator has a keyhole optimizer too but it doesn’t hurt anything to use them both. I use them both on PHP4 servers, PHP5 doesn’t need it.
I think there are possibly THREE (simple) problems.
One is a leftover corrupted eaccelerator cache left on your drive from a previous attempt that has to be cleared/deleted first.
Two is an old eaccelerator that was built for a different version of PHP, it needs to be rebuilt with that script above.
The last possibility might be the extension load order.
(you can try disabling the zend optimizer altogether as it’s overkill when eaccelerator is running)
1. Try deleting your old eaccelerator disk cache first
rm -rf /tmp/eaccelerator
2. Go into php.ini and look for the Zend section.
It will look something like this but maybe not exactly like this:
3. Make sure that Zend section is ABOVE (before) the eAccelerator section. You can also try commenting it all out with semi-colons before each line to disable it entirely.
Last but not least, you should also delete the entire eAccerator section in PHP.ini and then run that script above.
After thinking about this for awhile, I would put my money on the idea that your eAccelerator was built for an earlier version of PHP and MUST be re-compiled by that script.