php - 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 中启用了套接字,但仍然无法正常工作。有小费吗?
解决方案
推荐阅读
- c# - 如何在 Excel VSTO C# 中获取已删除范围的值
- c++ - 使用 void 函数打印二维字符数组
- swift - Swift - 使用 map/reduce/flatmap 将数组字典减少为相同类型的单个数组
- c++ - 控制台输出和文件内容不匹配
- javascript - 防止来自外部 xml 文件的 XSS
- python - 如何选择 reCAPTCHA?
- toast-ui-image-editor - TOAST UI 图像编辑器 addIcon 图标大小
- tkinter - 使用 pySerial 发送 gcode
- ffmpeg - 连接两个 .mov 文件会产生相同大小的文件
- acumatica - 在 ACUMATICA Report Writer 中包含预先格式化的内容