tell the user to use the right PHP build for FastCGI

git-svn-id: svn:// 152afb58-edef-0310-8abb-c4023f1b3aa9
This commit is contained in:
Jan Kneschke 2005-08-17 15:28:20 +00:00
parent df688f7de0
commit 1b4b0b313a
1 changed files with 6 additions and 1 deletions

View File

@ -861,8 +861,13 @@ static int fcgi_spawn_connection(server *srv,
/* the child should not terminate at all */
if (WIFEXITED(status)) {
log_error_write(srv, __FILE__, __LINE__, "sd",
"child exited (is this a FastCGI binary ?):",
"child exited:",
log_error_write(srv, __FILE__, __LINE__, "s",
"if you try do run PHP as FastCGI backend make sure you use the FastCGI enabled version.\n"
"You can find out if it is the right one by executing 'php -v' and it should display '(cgi-fcgi)' "
"in the output, NOT (cgi) NOR (cli)\n"
"For more information check");
} else if (WIFSIGNALED(status)) {
log_error_write(srv, __FILE__, __LINE__, "sd",
"child signaled:",