the test-cases revealed that broken-scriptfilename is really needed, reverted the changes
git-svn-id: svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x@558 152afb58-edef-0310-8abb-c4023f1b3aa9svn/tags/lighttpd-1.4.2
parent
f51c349b55
commit
0de585c33b
|
@ -423,17 +423,12 @@ the necessary environment variables to the FastCGI process. ::
|
|||
Configuring PHP
|
||||
---------------
|
||||
|
||||
.. note:: If and ONLY if your php was compiled with `--enable-discard-path` you
|
||||
have to apply these changes. In case this option is disable, skip
|
||||
this section.
|
||||
|
||||
The php.ini needs the option: ::
|
||||
If you want to use PATH_INFO and PHP_SELF in you PHP scripts you have to
|
||||
configure php and lighttpd. The php.ini needs the option: ::
|
||||
|
||||
cgi.fix_pathinfo = 1
|
||||
|
||||
and to break the CGI variable SCRIPT_FILENAME in the way
|
||||
`--enable-discard-path` needs it you have to add the option
|
||||
`broken-scriptfilename` to you fastcgi.server configuration: ::
|
||||
and the option ``broken-scriptfilename`` in your fastcgi.server config: ::
|
||||
|
||||
fastcgi.server = ( ".php" =>
|
||||
( "localhost" =>
|
||||
|
|
Loading…
Reference in New Issue