Error Log receiving this error:
The Zend Optimizer is a module that improves the performance of PHP code. It is often used to help dynamic sites that use PHP have better page load performance.
There are two possible causes of the problem that I can imagine:
1) You have a php.ini file in the directory where the script that you are running is located and it has an incorrect setting for the Zend Optimizer.
2) Someone deleted/moved the .so file for the Zend Optimizer on your box.
You can determine if #1 is causing your problem by creating a new directory somewhere in your public_html tree, e.g. /home/your_user_name/public_html/php_test. Then, in that directory, create a script called test.php that has the following code:
phpinfo();
?>
Next, run that script by using the URL http://your_domain.com/php_test/test.php and then look at your logs again and see if a new error message like the one you described is there. If the error still occurs, you should get a new entry every time you refresh that page.
If you get an error in this situation, then it's a problem with your box. Open a support ticket on it. If you don't get an error, then its almost certainly a problem with the php.ini that's in the directory with the script that causes the error. If you didn't put the php.ini file there, talk to the person that did and get them to fix it.
The php.ini file may or may not actually be needed. If it is there only to get RegisterGlobals turned on, I recommend that you modify the script so that that feature is not required since using it is a security risk.
Here is a working example of what zend entry should be in the php.ini:
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_TS.so
Keywords: Zend Optimizer zend optimizer cannot be found error Error