[PHP-DOC] #20888 [Asn->Sus]: Installation instructions for Apache CGI mode missing/misleading From: betz <email protected>
Date: 12/19/02

 ID: 20888
 Updated by: betz <email protected>
 Reported By: jpl <email protected>
-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 <email protected>

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 <email protected>

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

-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php