fnobi / php-express

enable express server to exec php.
36 stars 15 forks source link

how to install php binaries with npm? #20

Open iocmet opened 2 years ago

iocmet commented 2 years ago

Error: Command failed: php ...................... php-express/lib/PHPExpress/../../page_runner.php /home/runner/Express-Server/views .............................. /views/index.php /bin/sh: 1: php: not found

at ChildProcess.exithandler (child_process.js:308:12)
at ChildProcess.emit (events.js:314:20)
at ChildProcess.EventEmitter.emit (domain.js:483:12)
at maybeClose (internal/child_process.js:1022:16)
at Socket.<anonymous> (internal/child_process.js:444:11)
at Socket.emit (events.js:314:20)
at Socket.EventEmitter.emit (domain.js:483:12)
at Pipe.<anonymous> (net.js:675:12)