首页 > 解决方案 > fwrite(): 发送 15 个字节失败,errno=1 不允许操作

问题描述

所以我正在做的项目在 localhost 上使用 xampp 运行良好,但是当我将它上传到 Godaddy 时,我收到了这个错误

PHP Notice: fwrite(): send of 15 bytes failed with errno=1 Operation not permitted in /home/randomnumbers/public_html/domain.com/lib/QueryAPI.php on line 61

第 61 行: fwrite($this->rSocket, $sPacket);

它在 localhost 上运行良好,所以它与 Godaddy 有关,我应该通过 cPanel 启用什么来让它工作吗?我使用经济型 Linux 计划,我在 cPanel 中启用了套接字,但仍然无法正常工作。有小费吗?

标签: phpsocketsweb-hostingfopenfwrite

解决方案


推荐阅读