socket_write(): unable to write to socket [32]: Broken pipe
toancong opened this issue · comments
I meet the error when access /beanstalkd/tubes.
But the below code is ok
<?php
require __DIR__.'/vendor/autoload.php';
use Pheanstalk\Pheanstalk;
$pheanstalk = Pheanstalk::create('localhost');
var_dump($pheanstalk->listTubes());
array(1) {
[0]=>
string(7) "default"
}
Have you idea? Thanks
Resolved it. Because my server has disabled socket functions. just enable them.