警告:fopen()[function.fopen]:安全模式限制有效。 其uid为1191的脚本不允许访问/ home / yasimtr1 / domains中uid 101所拥有的/home/yasimtr1/domains/yasisyazilim.com.tr/public_html/kamuoyutv/data/videos/archive/2011/2/26第446行/yasisyazilim.com.tr/public_html/kamuoyutv/index/phplibrary/action.php
文件夹具有权限0777。
我该如何修复这个bug?
如果您需要更多信息来解决,请问我。
Warning: fopen() [function.fopen]: SAFE MODE Restriction in effect. The script whose uid is 1191 is not allowed to access /home/yasimtr1/domains/yasisyazilim.com.tr/public_html/kamuoyutv/data/videos/archive/2011/2/26 owned by uid 101 in /home/yasimtr1/domains/yasisyazilim.com.tr/public_html/kamuoyutv/index/phplibrary/action.php on line 446
the folders have the permission 0777.
How can I fix this bug?
If you need more information to solve, ask me.
最满意答案
由于这是在一些webhosting提供程序上,您将无法直接访问php.ini文件。 但是,有几种方法可以尝试启用它。 出于安全原因,大多数提供商不允许您启用它。
如果您的主机有在线控制面板,请检查他们是否有关闭安全模式的选项。 虽然大多数没有,但值得一试。
某些提供程序还允许您使用.htaccess文件将其关闭。 如果是这样,请将以下行添加到htaccess文件中:
php_flag safe_mode off如果这两个选项失败,您有一个最终选项:尝试询问您的主机提供商。 他们可能会让你大吃一惊并为你关掉它。
Since this is on some webhosting provider, you won't have direct access to the php.ini file. However, there are several methods that you can try to enable it. Most providers don't allow you to enable it though, for security reasons.
If your host has an online control panel, check to see if they have an option to turn off Safe Mode. Although most don't, it may be worth a try.
Some providers also allow you to turn it off with a .htaccess file. If so, add the following line to your htaccess file:
php_flag safe_mode offIf those two options fail, you have one final option: Try asking your host provider. They might surprise you and turn it off for you.
更多推荐
发布评论