README
express-php-serve
Simple CLI for express-php
(based on node-php-serve
)
LICENSE: ISC or MIT
Sample usage
express-php-serve --php-cgi /usr/local/bin/php-cgi --port 8000 ./hellotest
Prerequisites
- Node.js
- npm
- PHP installation with
php-cli
How it works
Uses express-php-fix
(version of express-php
with fix to honor the optional
php-cgi
command argument) to serve PHP via php-cgi
.
Major TODO(s)
- Test with Windows
- Automatic test suite
FUTURE
- Version without express dependency