|
| 1 | +In PHP5.3 all additional configure options (except --enable-cgi) are removed: |
| 2 | + |
| 3 | + --enable-fastcgi CGI: If this is enabled, the cgi module will |
| 4 | + be built with support for fastcgi also |
| 5 | + |
| 6 | + Now fastcgi is always enabled |
| 7 | + |
| 8 | + --disable-path-info-check CGI: If this is disabled, paths such as |
| 9 | + /info.php/test?a=b will fail to work |
| 10 | + |
| 11 | + Now it is enabled by default, but can be disabled |
| 12 | + with ini directive "cgi.fix_pathinfo=0" |
| 13 | + |
| 14 | + --enable-force-cgi-redirect |
| 15 | + CGI: Enable the security check for internal server |
| 16 | + redirects. You should use this if you are |
| 17 | + running the CGI version with Apache |
| 18 | + |
| 19 | + Now it is enabled by default, but can be disabled |
| 20 | + with ini directive "cgi.force_redirect=0" |
| 21 | + |
| 22 | + --enable-discard-path CGI: If this is enabled, the PHP CGI binary |
| 23 | + can safely be placed outside of the |
| 24 | + web tree and people will not be able |
| 25 | + to circumvent .htaccess security |
| 26 | + |
| 27 | + This option had effect only with |
| 28 | + --disable-path-info-check or "cgi.fix_pathinfo=0". |
| 29 | + Seems it needs only for CGI configuration that |
| 30 | + require each script start from "#! /usr/bin/php". |
| 31 | + |
| 32 | + Now it is disabled by default, but can be enabled |
| 33 | + with ini directive "cgi.discard_path=1". |
| 34 | + |
0 commit comments