raksmart活动促销

分享

写回答

发帖

LunarPages主机升级Zend Optimizer方法(需要版主翻译成中文)

国外虚拟主机 国外虚拟主机 3010 人阅读 | 3 人回复

发表于 2007-5-31 10:33:49 | 显示全部楼层 |阅读模式

我给 LunarPages 的空间商去了一封信,对方回信了,并且说明可以升级,都是自已升级的.但是英文,麻烦版主翻译成中文

1. Visit http://www.zend.com/downloads to download latest zend optimizer

2. Extract the files in your local computer. You will find a folder called
data. Rename the folder to a more specific name such as zendopt (We will use
this name for the rest of this article).

3. Upload the zendopt folder to public_html.

4. Add the following line to public_html/.htaccess:
suPHP_ConfigPath /home/user/public_html

Note: Rename user with your cpanel username

5. Add following lines to php.ini (create the file if it does not exist):

[Zend]
zend_optimizer.optimization_level=15
zend_extension=/home/USERNAME/public_html/zendopt/4_4_x_comp/ZendOptimizer.so
zend_extension_ts=/home/USERNAME/public_html/zendopt/4_4_x_comp/TS/ZendOptimizer.so

Note: replace USERNAME with your cpanel username. Please also replace
4_4_x_comp with whatever php version on your server. Zendopt folder contains
several folders such as 4_4_x_comp, 5_1_x_comp, and 5_2_x_comp. Please select
the closest to your php server.

6. Confirm the zend optimizer has been upgraded by creating a php file with
the following line and browse the file on the internet:

< ? echo phpinfo(); ?>

Let me know if you have any questions.


希望版主翻译一下,并且修改一下主题名称.谢谢.

评分

参与人数 1威望 +5 收起 理由
大漠孤狼 + 5 很有用

查看全部评分

回答|共 3 个

大漠孤狼

发表于 2007-5-31 10:35:02 | 显示全部楼层

好的,弄好了我发上来

zuozi

发表于 2007-5-31 10:47:37 | 显示全部楼层

谢谢,在线等待.呵呵.因为一升级了,那基本上所有的PHP程序都可以支持了.等待.

大漠孤狼

发表于 2007-5-31 11:51:19 | 显示全部楼层

http://bbs.idcspy.com/forum-51-1.html  发到这里了
您需要登录后才可以回帖 登录 | 注册

本版积分规则