| 
 | 
 
在php.ini中加入如下内容: 
allow_url_fopen = on 
上传覆盖。 
但是,我根据这个设置后仍然不行,于是我写信问了lunarpages的客服,他们给的回信原文如下:“Hello, Please insert the following code in your .htaccess: suPHP_ConfigPath /home/username/public_html/ where “username” is your cPanel username. In your php.ini file, please add the following line of text: allow_url_fopen = On Both files should be in your root public_html folder, if either of the files is not present, go ahead and create it. ” 
其意思就是,将在网站根目录中的.htaccess文件中加入“suPHP_ConfigPath /home/username/public_html/”(其中的“username”换成你的cpanel用户名) 
然后在php.ini中加入“allow_url_fopen = On ”,上传后,稍后就可以开启远程连接了。 |   
 
 
 
 |