node-php icon indicating copy to clipboard operation
node-php copied to clipboard

Run PHP scripts in node

Results 21 node-php issues
Sort by recently updated
recently updated
newest added

error exec php script: > No input file specified.

node-php is using a deprecated express method. ``` express deprecated res.send(body, status): Use res.status(status).send(body) instead node_modules\node-php\main.js:115:13 express deprecated res.sendfile: Use res.sendFile instead node_modules\node-php\main.js:120:12 ```

if php's `setcookie` is called multiple times per response, only the last cookie will be included in the response. for example, the response from the following php code will include...

nwgat@sever:~/test/node-php/tests$ nodejs express.js module.js:340 throw err; ^ Error: Cannot find module 'php' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:364:17) at require (module.js:380:17) at Object. (/home/nwgat/test/node-php/tests/express.js:2:11) at Module._compile (module.js:456:26)...

I keep getting the error `ERR_CONTENT_DECODING_FAILED` in my local development area when view a page. Searching around the internet says to set `zlib.output_compression = On` in `php.ini` so that its...

The npm install is out of date... Can you make it up to date?

Can't seem to get module to work, I always get: ``` events.js:72 throw er; // Unhandled 'error' event ^ Error: write EPIPE at errnoException (net.js:901:11) at Object.afterWrite (net.js:718:19) ```

No biggie but I believe in your example on your README where you have: ``` var php = require("php"); ``` It really should be: ``` var php = require("node-php"); ```