Skip to content

Commit f9e0514

Browse files
author
Ganesh B
committed
[Commit]: Ganesh Bhat - Adding dynamic PHP-CGI path configuration to the repo that can be instantiated from express server. Available Tests pass through. Adding docs for relevant changes.
1 parent 231aa63 commit f9e0514

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ var path = require("path");
2222

2323
var app = express();
2424

25-
// Following works without a path and PHP-CGI installed in system
25+
// Following without a local copy of PHP-CGI works without a path and tries to use PHP-CGI installed in system
2626
// app.use("/", php.cgi("/path/to/wordpress"), '');
2727

28-
// Following is the path for PHP-CGI that you want to use for the application
28+
// Following uses a path in second argument defining the local copy of PHP-CGI that you want to use for the application
2929
app.use("/", php.cgi("/path/to/wordpress"), '/usr/bin/');
3030

3131
app.listen(9090);

0 commit comments

Comments
 (0)