我的网站页面出现PHP错误

我的网站页面出现PHP错误,php,syntax-error,Php,Syntax Error,我在我的一些页面上遇到了一个php问题。我不知道如何修复我遇到的这个错误 Warning: set_time_limit() has been disabled for security reasons in /home/sweetsun/public_html/products/coffee/rss.inc on line 8 Warning: fopen() [function.fopen]: http:// wrapper is disabled in the server config

我在我的一些页面上遇到了一个php问题。我不知道如何修复我遇到的这个错误

Warning: set_time_limit() has been disabled for security reasons in /home/sweetsun/public_html/products/coffee/rss.inc on line 8

Warning: fopen() [function.fopen]: http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/sweetsun/public_html/products/coffee/rss.inc on line 81

Warning: fopen(http://news.google.com/news?sourceid=navclient&ie=UTF-8&rls=GGLG,GGLG:2005-22,GGLG:en&q=Coffee&output=rss) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/sweetsun/public_html/products/coffee/rss.inc on line 81
could not open XML input
我在Notepad++中打开了该文件以修复代码,我尝试将时间限制设置为0,但没有成功


格式应如下所示。

服务器已配置,因此不允许您调用set\u time\u limit函数()

您无法通过网络打开文件()


您必须重新配置服务器或迁移到允许此操作的服务器。

您的PHP配置正在阻止页面的某些功能。您可以通过设置
allow\u url\u open
max\u execution\u time
(或者在您的php文件中使用
ini\u set
)来更改php.ini,但您的主机可能在服务器级别上阻止了此操作。如果它对您的站点不重要,您可以使用
错误报告(0)隐藏警告谢谢你的建议Jason,我看不出配置它的php.ini文件在哪里。我没有使用php myadmin来设置页面,我将与我的主机进行检查,看看它是否在其端。