From 0de585c33bbbf394adc8162dfb9902980bb1c652 Mon Sep 17 00:00:00 2001 From: Jan Kneschke Date: Wed, 17 Aug 2005 09:51:24 +0000 Subject: [PATCH] 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-c4023f1b3aa9 --- doc/fastcgi.txt | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/doc/fastcgi.txt b/doc/fastcgi.txt index 8010ce80..8a833c33 100644 --- a/doc/fastcgi.txt +++ b/doc/fastcgi.txt @@ -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" =>