note 80982 deleted from security.cgi-bin.shell by rbowen
| From: | rbowen@php.net | Date: | Mon, 14 Dec 2009 14:53:13 +0000 |
| Subject: | note 80982 deleted from security.cgi-bin.shell by rbowen | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-163930@lists.php.net to get a copy of this message | ||
Note Submitter: raj at ap dot krakow dot pl
----
It's again not stated clearly in the documentation, that you should use --enable-discard-path
ONLY IF you plan to use the PHP CGI outside the web tree as stated here.
If you want to use PHP as a regular CGI processor (via Action & AddHandler in the Apache config
file), you shouldn't use this option because, if compiled with this, the PHP binary won't
recognize the path to the actual script and will in any case try to send itself to the browser as
the script output (!).