我正试图通过shell执行php脚本给定Here由:-
php whatsapp.php -s MobileNo Message
我得到了以下错误:-
PHP Notice: fwrite(): send of 111 bytes failed with errno=32 Broken pipe in
whatsprot.class.php on line 1923
whatsprot.class.php中的第1923行对应于:
fwrite($this->socket, $data, strlen($data));
php是什么
这个问题有什么解决办法吗?
1条答案
按热度按时间zpf6vheq1#
这可能是因为你的数据包含'utf-8'字符。我有类似的问题是由它造成的。
异常错误:mysql_query():发送1462592字节失败,错误号= 32管道破裂
我以前
导入的sql文件包含了大量的UTF8字符(泰语),但是我没有为[mysql]设置default-character-set = utf8,所以数据库中的错误编码数据导致了这个问题。