But today, when you install the test program, you are prompted to Zend Optimizer not installed. This makes me very confused, so common space why did not install Zend, and then I look at info.php, I was surprised to find that the server Zend unexpectedly is 1.3.1 version of, And I use the program at least 2.6.x above, no way, only upgrade my Zend, the principle of upgrading Zend will be very complicated, did not think, very simple. The specific method I posted out for the purchase of foreign space, encounter the same problem people to provide help.
The current version of Zend is version 3.3. Here are 3.3 examples to illustrate:
1, first unzip the downloaded file, you will find a folder named data. Change the name of the folder to a more specific name (mainly to avoid confusion), such as zendofsite, preferably from the Zend, so that it is easy to find and update in the future.
2, then upload the Zendofsite folder (is the original data folder, the name is their own modification, modify the name of what will be used in the future) to the site root directory. It is recommended to compress the zip format to upload and then use the online decompression, which saves a lot of time and improves efficiency.
3, quietly wait for a little while, the file upload finished. On-line decompression. Login ftp to find the root directory of the php.ini file, if the directory does not have this file, you build one, type the following: reference:
Copy Code code as follows:
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
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=/home/content/u/s/user/html/zendofsite/4_3_x_comp/zendoptimizer.so
Zend_extension_ts=/home/content/u/s/user/html/zendofsite/4_3_x_comp/ts/zendoptimizer.so
The red section for your login path and login username, such as your ID is taohost, the red part is/u/s/taohost, if the user name is longer may take the first 3 digits. The path can be obtained by using the following method (incorrect path may cause Zend to be used correctly):
Special attention:
Need to get file and user path, you need to create a PHP file immediately, will be Echo Phpinfo ();?> into file, save as filename info.php.
Access this file in the browser, get two parameters, one is configuration file (php.ini) path (php file), if this is not the case, search document_root this node, get the path.
This file allows you to get the value of the red part of "/home/content/u/s/user/html". Another is your current PHP version number (generally at the top), the remaining standby, the following will be used.
4, after the correct path, modify the php.ini file can be. Using this version of PHP, go to the Zendofsite folder and find a folder that is closest to your server PHP version (the Zendofsite folder contains many folders, such as 4_3_x_comp,5_1_x_comp, and 5_2_x_comp). Then replace the 4_3_x in the 4_3_x_comp of the above code. is actually calling the resources in this folder. If the folder is not specified correctly, it may not work correctly.
5, want to confirm Zend Optimizer whether upgrade success, on the access to just set up the php file info.php, find Zend field can see Zend version!
Note: PHP5 Remember, be sure to change php.ini to Php5.ini
Need to note is GoDaddy update Zend after the effective time.
After the author test, immediately effective (prompt Zend not installed problems disappear)
Friends who have the same problem, try it quickly.