Workarounds for some IIS issues | |
|
missing SCRIPT_FILENAME | |
IIS doesn't seem to have this variable.
Copy to clipboard
|
Problems with malformed URLs | |
Some URIs on IIS are malformed. They get an additional slash before the '?' sign to separate parameters from the page name.
Copy to clipboard
Now as this is really only a workaround, the way I use this is to put these two fixes into a separate file, e.g. bb_WindowsFixes.php, and include_once them at the beginning of tiki-setup.php and tiki-install.php And here's how the whole fix file looks: Copy to clipboard
|
additional comment | |
However one should note that this fix is valid for IIS when PHP is called in the CGI/FASTCGI mode (php.exe) If for speed reasons PHP is called in ISAPI Mode (and you will notice the difference immediately) then there is quite another set of "server_variables" and the fix has to be altered: Copy to clipboard
|