summaryrefslogtreecommitdiff
path: root/win32
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-06-03 11:11:41 +0000
committerMarkus Fischer <mfischer@php.net>2002-06-03 11:11:41 +0000
commit504d7c2ebdea68137ddf1b759037538f3168c670 (patch)
tree2f152dab1cbb0363674b2b5b813ac27790eed489 /win32
parent6277fb312ef6bf0bcfaf3e917ea0c5dad3e7068f (diff)
downloadphp-git-504d7c2ebdea68137ddf1b759037538f3168c670.tar.gz
- Add note about IIS/CGI and cgi.force_redirect gotcha
Diffstat (limited to 'win32')
-rw-r--r--win32/install.txt39
1 files changed, 33 insertions, 6 deletions
diff --git a/win32/install.txt b/win32/install.txt
index d5f17c36b8..18ba20515b 100644
--- a/win32/install.txt
+++ b/win32/install.txt
@@ -434,6 +434,16 @@ Web server configuration
add execute rights for I_USR_ to the directory that contains
php-cgi.exe
+ !NOTE!: Since 4.1.2, the php.ini setting cgi.force_redirect defaults to '1'
+ which effectively prevents the cgi from working within IIS. You need to set
+ up at least a minimal php.ini file with the following directive:
+
+ cgi.force_redirect = 0
+
+ If it doesn't work immidiately, make sure you have the php.ini file in the
+ right place (%SYSTEMROOT%\php.ini).
+
+
To use the ISAPI module, do the following:
If you don't want to perform HTTP Authentication using PHP,
@@ -616,7 +626,7 @@ Problems?
Something went wrong when the server tried to run PHP. To get to see a
sensible error message, from the command line, change to the directory
- containing php-cgi.exe and run <literal>php-cgi.exe -i</literal>
+ containing php-cgi.exe and run "php-cgi.exe -i" (without quotes).
If php has any problems running, then a suitable error message will be displayed
which will give you a clue as to what needs to be done next.
If you get a screen full of html codes (the output of the phpinfo() function) then
@@ -701,6 +711,19 @@ Problems?
try this tool.
+ I'm using IIS/CGI and everytime I try to access a php file I get
+ "Security Alert! The PHP CGI cannot be accessed directly."
+
+ Since 4.1.2, the php.ini setting cgi.force_redirect defaults to '1' which
+ effectively prevents the cgi from working within IIS. You need to set up at
+ least a minimal php.ini file with the following directive:
+
+ cgi.force_redirect = 0
+
+ If it doesn't work immidiately, make sure you have the php.ini file in the
+ right place (%SYSTEMROOT%\php.ini).
+
+
Other problems
If you are still stuck, someone on the PHP installation mailing list may be
able to help you. You should check out the archive first, in case
@@ -724,9 +747,13 @@ Bug reports
If you think you have found a bug in PHP, please report it. The
PHP developers probably don't know about it, and unless you
- report it, chances are it won't be fixed. You can report bugs
- using the bug-tracking system at http://bugs.php.net/
+ report it, chances are it won't be fixed.
+
+ 1) Read about Bugs-Dos-And-Donts
+ http://bugs.php.net/bugs-dos-and-donts.php
+
+ 2) If you think you've found a bug, read
+ http://bugs.php.net/bugs-dos-and-donts.php
- Read the Bugs-Dos-And-Donts at
- http://bugs.php.net/bugs-dos-and-donts.php
- _BEFORE_ submitting any bug reports!
+ 3) Feel welcome to file a report at
+ http://bugs.php.net/