1. bluehost knowledge base

Zend Optimizer

What is Zend Optimizer?

Zend Optimizer is configured to work on any Bluehost server. To ensure it works properly for your account, you need to enable the "zend_extension" option in your php.ini in all folders where the scripts are that need it. You can enable this using the "PHP Configuration" option in cPanel. Follow the steps in the PHP Config article to install the default php.ini file to your account.

Enable Zend Optimizer

The simplest way is to enable Zend Optimizer before installing the default php.ini file. The configuration options are also listed if you want to copy the options and paste them in your current php.ini file.

Common Issues

My Error Log gives an error that looks like "Zend Optimizer for PHP x.x.x Cannot Be Found" or similar -- How do I Confirm Zend Optimizer is configured properly?

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; some sites may also require this--if it's missing, the site will fail to load properly, and give an error similar to this one: 
PHP Warning: Zend Optimizer for PHP 4.4.x cannot be found (expected at '/usr/local/Zend/lib/Optimizer-2.5.10/php-4.4.x/ZendOptimizer.so') - try reinstalling the Zend Optimizer in Unknown on line 0

 

This may be visible directly on the website, or in your php error logs, or both. Zend Optimizer is installed on the server, and just needs to be enabled in the php.ini file. You may need to install the default php.ini file as well.

If you are still seeing the error, please copy down the path to the script seeing issues; then, using either File Manager or FTP or Bash (terminal), verify the following:

  • The directory has a php.ini file
  • The php.ini file has no capitalizations in the filename, and has permissions of 440 or greater.
  • The php.ini is newly created, to rule out possible PHP version mismatches.