-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
I'm trying to execute this code.
`
var PHPFPM = require('node-phpfpm');
var phpfpm = new PHPFPM(
{
host: '127.0.0.1',
port: 9000,
documentRoot: "."
});
phpfpm.run('index.php', function(err, output, phpErrors)
{
if (err == 99) console.error('PHPFPM server error');
console.log(output);
if (phpErrors) console.error(phpErrors);
});
`
But i get this error;
PHPFPM server error
Error: Cannot send request to server.
Error: Cannot send request to server.
How can i solve this
Metadata
Metadata
Assignees
Labels
No labels