Hi This updates the CGI doc for PHP.
- Lauri
>From 8e1ff502726fe2425ce3d922b52fb1492e00e252 Mon Sep 17 00:00:00 2001 From: Lauri Kasanen <[email protected]> Date: Fri, 24 Aug 2012 13:38:02 +0300 Subject: [PATCH] cgi: Mention PHP in the README Signed-off-by: Lauri Kasanen <[email protected]> --- plugins/cgi/README | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/plugins/cgi/README b/plugins/cgi/README index 183b5a3..0451305 100644 --- a/plugins/cgi/README +++ b/plugins/cgi/README @@ -6,3 +6,19 @@ one-process-per-request architecture. It's slow and using FastCGI instead is recommended, but building CGI apps is rather easy and fast. + + +PHP +--- + +Note: +Using PHP via CGI is not recommended, you should use FastCGI instead. + +To use PHP scripts via CGI, you need to make them executable, and either + +1) add the usual linux script header to each (#!/path/to/php5-cgi) + +or + +2) bind .php to php5-cgi using binfmt-misc (recommended, a kernel-level lookup without +changing files) -- 1.7.2.1
_______________________________________________ Monkey mailing list [email protected] http://lists.monkey-project.com/listinfo/monkey
