全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 3328|回复: 2

lunarpages虚拟主机开启远程数据连接办法

[复制链接]
发表于 2008-10-19 23:13:15 | 显示全部楼层 |阅读模式
在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 ”,上传后,稍后就可以开启远程连接了。
发表于 2008-10-21 11:19:11 | 显示全部楼层
在数据库管理设置的不行吗?
 楼主| 发表于 2008-10-21 11:51:48 | 显示全部楼层

回复 2# 的帖子

PHPMyadmin可以的,只是远程连接需要上面的操作。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-5-5 14:18 , Processed in 0.060094 second(s), 8 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表