Do Linux hosting accounts have Zend Optimizer and GD Library enabled?

Yes. Zend Optimizer™ for PHP5.2 is installed and enabled on all Linux hosting accounts. PHP 5.3 does not use Zend Optimizer. For more information, see Using Zend Guard Loader.

GD Library is a PHP library that affects image resizing, among other things. Zend Optimizer™ works with Zend Guard™ to enhance the performance of PHP applications. Zend Guard protects the source code of PHP applications by distributing them without revealing the application's source code. Zend Optimizer runs and optimizes Zend Guard's encoded files, which enhances the performance of PHP applications.

You can upload newer versions of Zend Optimizer (and other PHP modules) and reference the path to their files.

Note: To use Zend Optimizer with our hosting accounts, you must disable APC. For more information, see Disabling APC on Your Hosting Account.

To enable Zend Optimizer on your hosting account, you must either modify or create a php5.ini file. The file you create or modify must include the following code:

[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/ZendExtensionManager_TS.so

We recommend backing up your php5.ini file before modifying it.


Was This Article Helpful?
Thanks for your feedback. To speak with a customer service representative, please use the support phone number or chat option above.
Glad we helped! Anything more we can do for you?
Sorry about that. Tell us what was confusing or why the solution didn’t solve your problem.