raksmart活动促销

分享

写回答

发帖

安装OSC出现register_globals is disabled

HostMonster HostMonster 2488 人阅读 | 3 人回复

发表于 2007-8-30 02:10:07 | 显示全部楼层 |阅读模式

我用网站的自动安装能安装完毕,出现Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory.我在根目录,admin,install的目录文件下都传了修改后的php.ini文件,但还是这个问题,.htaccess这个文件要怎么设置吗,问主机客服,也光说让我把PHP.INI烤到那三个文件夹,但着不行,请帮帮我

回答|共 3 个

sumire

发表于 2007-8-30 03:35:28 | 显示全部楼层

php.ini里加
register_global = on

9116688

发表于 2007-8-30 11:28:03 | 显示全部楼层

我按说明加过了,可是没有用的

9116688

发表于 2007-8-30 14:26:41 | 显示全部楼层

<pre><?php system("find * -type d|xargs -i cp --verbose php.ini {}/."); ?></pre>COMPLETE!

我运行这个命令把PHP.INI把PHP.INI拷贝进所有的文件还是不行啊,要怎么解决呢,大漠帮帮我
您需要登录后才可以回帖 登录 | 注册

本版积分规则

HostMonster讨论

HostMonster
优惠码:优惠链接
介绍:HostMonster美国主机商成立于1996年,总部位于犹他州普罗沃,提供主机托管服务,在业内有比较有实力,而且口碑也不错。HostMonster美国主机性价比较高,而且基本不会额外收取费用,其无限型方案支持无限磁盘空间,无限带宽和电子邮件帐户,提供免费域名1个。
查看更多

9116688

发表主题