Skip to content

Commit 06f43b3

Browse files
committed
MFH: Improved and cleaned CGI code. FastCGI is now always enabled and can not be disabled. See sapi/cgi/CHANGES for more details.
1 parent a748ada commit 06f43b3

File tree

5 files changed

+438
-549
lines changed

5 files changed

+438
-549
lines changed

NEWS

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
PHP NEWS
22
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
33
?? ??? 20??, PHP 5.3.0
4+
- Improved and cleaned CGI code. FastCGI is now always enabled and can not be
5+
disabled. See sapi/cgi/CHANGES for more details. (Dmitry)
46
- Added support for dynamic access of static members using $foo::myFunc().
57
(Etienne Kneuss)
68

sapi/cgi/CHANGES

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
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

Comments
 (0)