lunarpages虚拟主机如何开启远程数据连接?
问题描述:
LP的空间支持远程连接吗?
我将自己的一个域名使用了bokecc.com的pocle视频管理程序,在pocle网站程序的后台要绑定cc帐户来支持发视频。但是我在绑定帐户的时候总提示错误:无法连接bokecc网站(在国内)。据说原因是因为空间服务商不支持远程连接。
由此,想问一下,lp的空间能够远程连接吗?如果不能,怎样写信让他们帮开通?
ps:07年我曾经在这个空间上(现在仍然是用的这个)用bokecc.com的pocle视频管理程序建立了一个网站,当时可以绑定,后来我申请的独立ip,现在却不行了。据说可能是因为lp的防火墙设置问题。是吗?
在提出这个问题后得到了“龙腾中原”网友的提示:
在php.ini中加入如下内容:
allow_url_fopen = on
上传覆盖即可
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 ”,上传后,稍后就可以开启远程连接了。
我测试以后完全正确。我的www.360mei.com/show就已经成功绑定union.bokecc.com的账号。
Did you enjoy this post? Why not leave a comment below and continue the conversation, or subscribe to my feed and get articles like this delivered automatically to your feed reader.

Comments
还没有任何评论。
留下评论