Does Godaddy support Zend Optimizer ? The answer is yes.Both Web hosting and Virtual Dedicated Server support Zend Optimizer .You just need make a set.There are several situations:

1.Php 5.2 or earlier.

To enable Zend Optimizer on your hosting account, you must disable APC(Alternative PHP Cache ).You must either modify or create a php5.ini file in your root directory like this:

register_globals = on
allow_url_fopen = on
expose_php = on
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
apc.enabled=0
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
[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

2.Php 5.3.

If you use PHP 5.3, you must use Zend Guard Loader instead of Zend Optimizer.
To enable Zend Guard Loader, you must either modify or create a php5.ini file that includes the following code:

zend_extension=/usr/local/Zend/lib/Guard-5.5.0/php-5.3.x/ZendGuardLoader.so

We strongly suggest not using Zend Guard unless you know your files are encoded for PHP 5.3. Files encoded with older versions of Zend Guard will not run under PHP 5.3 and trying to decode those files on your hosting account can corrupt them.

3.Linux Virtual Private Server.

To Install Zend Optimizer on Your Linux Virtual Private Server (VPS)

1).Access your Linux server through SSH.

2).Download Zend Optimizer for Linux x86 to your root directory.

3).Use this command to untar the file:

[root@localhost ~]# tar -xvzpf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz

4).Use this command to copy the appropriate ZendOptimizer.so into the directory that corresponds to your PHP version:

# cp /root/ZendOptimizer-3.3.9-linux-glibc23-i386/data/5_1_x_comp/ZendOptimizer.so /usr/lib/php/modules/

You can check the required directory with this command:

# php -i | grep extension_dir

5).Use this command to add the appropriate string to your php.ini file:

# echo "zend_extension= /usr/lib/php/modules/ZendOptimizer.so" >> /etc/php.ini

6).Restart Apache Web Server.

All the operations will take half an hour to effect.Do not worry.



This address is http://www.computerites.com/internet-skills/2013/01/how-to-enable-zend-optimizer-with-godaddy-host-674.html