Frequently Asked Questions

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

Print this Article
Comment on this Article
Last Updated: December 22, 2011 12:13 PM

Yes. Zend Optimizer™ for PHP4 and GD Library for PHP4 and PHP5 are installed and enabled on all Linux hosting accounts.

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.

To enable Zend Optimizer on your hosting account, you must either modify or create a php.ini file if your hosting account runs PHP 4, or your php5.ini file if your hosting account runs PHP 5. 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

NOTE: We recommend backing up your php.ini or php5.ini file before modifying it.