raksmart活动促销

分享

写回答

发帖

帮我翻译一下客服给我的回信

英文翻译专版 英文翻译专版 2522 人阅读 | 6 人回复

发表于 2008-4-21 13:28:07 | 显示全部楼层 |阅读模式

Hello,

I have added the following to your .htaccess file

suPHP_ConfigPath /home/ehuweb0/public_html/

Please Note Below

Because we use suPHP to parse php files, you have the option of using a custom php.ini file.

Your account can have multiple php.ini files on your account in different folders so you can customize the php processing in different folders should your script require it. A php.ini file will not inherit down into subfolders, however, you can create a .htaccess file in the same folder as the php.ini file and place the following code into it:

suPHP_ConfigPath /home/username/public_html/

where "username" is your cPanel username. This will cause the php.ini file to affect all subfolders, unless a php.ini file is in a subfolder, at which point the php.ini in the subfolder takes precedence.

In php.ini, you will need to use the actual php.ini syntax instead of the php_value or php_flag syntax you would normally use in .htaccess (Which should not be used at all):

setting_name = setting_value

So, this means if you move the settings from .htaccess to php.ini, you must convert the format. Let's say you have the following line in your .htaccess file:

php_value register_globals 0

the corresponding php.ini format is as follows:

register_globals = Off

Notice how the value 0 becomes Off and 1 becomes On. Now if your php_value has quotes like the following, for example:

php_value include_path ".:/home/user/lib"

The corresponding php.ini format is:

include_path = ".:/home/user/lib"

and so on. You should only use the settings you need to change in your php.ini.

For the PHP settings you do not have in your php.ini file, PHP will use our default configurations.

Could you please Retry Your Script

--
Best Regards,

回答|共 6 个

loongw

发表于 2008-4-21 15:56:31 | 显示全部楼层

有人帮我翻译一下么

Loory 该用户已被删除

发表于 2008-4-21 16:46:16 | 显示全部楼层

技术性的东西,如果你是程序员应该看得懂;如果不是程序员,可能翻译了也看不懂。

loongw

发表于 2008-4-21 18:02:53 | 显示全部楼层

只要帮我翻译了,我可以照着做啊,关键是我现在不知道什么意思

Loory 该用户已被删除

发表于 2008-4-21 18:44:14 | 显示全部楼层

大意告诉你如何设置.htaccess与php.ini
如果你真要学这个还不如自己在google上搜索一下这方面的教程,很多。

loongw

发表于 2008-4-21 20:05:32 | 显示全部楼层

帮帮忙啊,就是帮我翻译下啊,我的空间不支持外部请求,这个该如何设置啊

imhunter

发表于 2008-4-23 17:00:19 | 显示全部楼层

晚上回去给你发,现在手机上网,不方便,如果忘了记得PS我
RAKSmart
您需要登录后才可以回帖 登录 | 注册

本版积分规则