我正在从脚本我试图运行以下命令:fwrite()将不允许的,但phpinfo()函数说它应该是
Notice: fwrite() [function.fwrite]: send of 7 bytes failed with errno=1 Operation not permitted in /home/thrawn/public_html/sorcero.us/MinecraftQuery.class.php on line 165
然而,当我检查的phpinfo(),于allow_url_fopen是并且启用套接字支持。我一直无法找到任何指向可能导致此事的事情。
为了澄清,我没有写这个脚本。我对PHP的知识大多只是基础知识,但我足够了解这个理由,因为phpinfo()表示允许使用正确的东西。有问题的脚本在这里:https://github.com/xPaw/PHP-Minecraft-Query/blob/master/MinecraftQuery.class.php
你在写什么? – nneonneo
这是一个操作系统错误,而不是PHP引擎错误。 –