Running the example from the readme file, i became the following error in Chrome:
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
Seems like some handling in the php-beanstalk library is broken, because there are no messages in my apache error log, it seems like an error kills the running apache process.
The error pops out only on these function calls:
$bsc->bury($job['id'], $key))
$bsc->kick(100, $key)
$bsc->ignore($key)
Everything else seems to be working. At least i am becoming some output, not sure if it is valid or not, but seems ok.
My system is Ubuntu 12.04, i have compiled this library according to the steps from the readme file. The same thing happened with beanstalkd installed from the apt repository and with the current version of beanstalkd (1.6), compiled manually.
I also had to modify a line in the example source code - had to add a weight value into the addServer call:
$bsc->addserver("127.0.0.1", 11300, 1);
Otherwise i became a PHP fatal errors.
Running the example from the readme file, i became the following error in Chrome:
Error 324 (net::ERR_EMPTY_RESPONSE): The server closed the connection without sending any data.
Seems like some handling in the php-beanstalk library is broken, because there are no messages in my apache error log, it seems like an error kills the running apache process.
The error pops out only on these function calls:
$bsc->bury($job['id'], $key))
$bsc->kick(100, $key)
$bsc->ignore($key)
Everything else seems to be working. At least i am becoming some output, not sure if it is valid or not, but seems ok.
My system is Ubuntu 12.04, i have compiled this library according to the steps from the
readmefile. The same thing happened with beanstalkd installed from the apt repository and with the current version of beanstalkd (1.6), compiled manually.I also had to modify a line in the example source code - had to add a weight value into the addServer call:
$bsc->addserver("127.0.0.1", 11300, 1);
Otherwise i became a PHP fatal errors.