1. download the latest version of Zend optimizer.
Downloading from the Zend webpage is troublesome. You can download it directly for your convenience.
Http://downloads.zend.com/optimizer/3.3.3/ZendOptimizer-3.3.3-linux-glibc23-i386.tar.gz
2. decompress the downloaded file and rename the data folder to a memorable name. Here I change it to zend3_3.
Then, compress the entire zend3_3folder with zend3_3.zip and upload it to the root directory using FTP.
Select zend3_3.zip in the background content-file manager, click unarchive,
Click OK to decompress the package to the root directory. After decompression, you will see an additional zend3_3 folder.
3. Find the absolute path of your host.
The absolute path of the Godaddy host is regular. The path is/home/content/A/B/C/username/html/
The red part after content contains the first three letters of your host user name.
The blue part is your host user name, and others are the same.
For example, if your host user name is wangyi, the corresponding path is/home/content/W/A/n/wangyi/html/
For example, if your host user name is Billy, the corresponding path is/home/content/B/I/L/Billy/html/
You can also easily see the absolute path of the host by uploading the probe.
4. Modify PHP. iniCode. There are two cases.
4.1 If your host's PHP version is 4.x.
Download the php. ini file under the root directory of the host and add the following code. Note the case sensitivity:
[Zend]
Zend_optimizer.optimization_level = 15
Zend_extension =/home/content/A/B/C/username/html/zend3_3/4_3_x_comp/zendoptimizer. So
Zend_extension_ts =/home/content/A/B/C/username/html/zend3_3/4_3_x_comp/TS/zendoptimizer. So
For details about how to fill in red and blue, see 3.
Save and upload the root directory to overwrite the original PHP. ini. OK!
4.2 if your host's PHP version is 5.x.
Download the php. ini file under the root directory of the host and add the following code. Note the case sensitivity:
[Zend]
Zend_optimizer.optimization_level = 15
Zend_extension =/home/content/A/B/C/username/html/zend3_3/5_2_x_comp/zendoptimizer. So
Zend_extension_ts =/home/content/A/B/C/username/html/zend3_3/5_2_x_comp/TS/zendoptimizer. So
For details about how to fill in red and blue, see 3.
Save, upload the root directory, overwrite the original PHP. ini, and rename PHP. ini to php5.ini. OK!
If you want to switch to the PHP version, you can change the php. ini Code accordingly.
Zend optimizer. How can I try it.