.htaccess 删除开放的basedir限制
我正在运行脚本,出现以下错误:.htaccess 删除开放的basedir限制,.htaccess,open-basedir,.htaccess,Open Basedir,我正在运行脚本,出现以下错误: WARNING: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/share/php/Am/View/Helper/HeadScript.php) is not within the allowed path(s): (/home/1205915141/members-net/:/tmp:/usr/share/pear/) in line 198
WARNING: is_readable() [function.is-readable]: open_basedir restriction in effect. File(/usr/share/php/Am/View/Helper/HeadScript.php) is not within the allowed path(s): (/home/1205915141/members-net/:/tmp:/usr/share/pear/) in line 198 of file /home/1205915141/members-net/public_html/library/Zend/Loader.php
我要求我的主人取消限制,但他们说,出于安全原因,他们不会取消。因此,我决定自己动手,用htaccess覆盖php.ini,如下所示:
php_value open_basedir /usr/share/php/
但它不起作用。我不确定到底是什么问题,不管是语法还是路径。你能帮我一下吗
谢谢。您使用什么PHP版本-可能