标题: lunarpages虚拟主机开启远程数据连接办法 [打印本页] 作者: cpuer 时间: 2008-10-19 23:13 标题: lunarpages虚拟主机开启远程数据连接办法 在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 ”,上传后,稍后就可以开启远程连接了。作者: cooc123 时间: 2008-10-21 11:19
在数据库管理设置的不行吗?作者: cpuer 时间: 2008-10-21 11:51 标题: 回复 2# 的帖子 PHPMyadmin可以的,只是远程连接需要上面的操作。