#20888 [Asn->Sus]: Installation instructions for Apache CGI mode missing/misleading
| From: | betz@php.net | Date: | Fri, 20 Dec 2002 00:55:22 +0000 |
| Subject: | #20888 [Asn->Sus]: Installation instructions for Apache CGI mode missing/misleading | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969350339@lists.php.net to get a copy of this message | ||
ID: 20888
Updated by: betz@php.net
Reported By: jpl@remotejava.com
-Status: Assigned
+Status: Suspended
Bug Type: Documentation problem
PHP Version: 4.3.0RC2
Assigned To: betz
New Comment:
Until a descision is made by the developers of PHP about the names of
the binaries this bug will be suspended.
Previous Comments:
------------------------------------------------------------------------
[2002-12-09 04:25:47] betz@php.net
Thanks for your report. I am on the way to update the docs.
They will show up soon on the website.
------------------------------------------------------------------------
[2002-12-08 15:29:14] jpl@remotejava.com
I tried installing 4.3.0RC2 in CGI mode for Apache, following the
documentation at
http://www.php.net/manual/en/install.commandline.php
Result: one hour wasted. Reason: the page does not contain any hint as
to what directives need to be added to the httpd.conf to enable
processing of *.php files by the interpreter. There is a user-provided
docnote which handles this, suggesting to use something like this:
AddType application/x-httpd-php .php4
ScriptAlias /php4/ "/home/king/php-4.1.2/"
Action application/x-httpd-php /php4/php
Unfortunately, this is dangerously outdated: you must use
/php4/php-cgi, not /php4/php. Failing to do so results in the very
difficult to debug "Premature end of script headers" message in
server's error log. That "php-cgi" thing is mentioned NOWHERE on the
CGI installation page - I only managed to solve it through advice on
IRC.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=20888&edit=1