note 74256 added to configuration
| From: | henrick at streamsec dot se | Date: | Sun, 01 Apr 2007 12:07:07 +0000 |
| Subject: | note 74256 added to configuration | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-125006@lists.php.net to get a copy of this message | ||
In order to get PHP 5.2 stable running on Windows Server 2003 x64 (IIS 6.0), I discovered three
things (in addition to the other comments above):
* Some PHP web applications make use of the SCRIPT_NAME server variable which is not available under
CGI. You have to use php5isapi.dll, which is a 32 bit dll, so you have to run IIS in 32 bit mode.
Confer http://support.microsoft.com/kb/894435.
This applies to all ISAPI extensions and not just ASP.NET.
* It appears you must leave the doc_root entry in php.ini blank. At least, that is what finally made
my installation work. (Note that others have suggested to set it to e.g. C:\inetpub\wwwroot or
equivalent. That won't work if your server hosts more than one domain, each placed in a
separate directory.)
* If you are e.g. using MySQL you will have to edit php.ini. In order for it to be found, you must
set the PHPRC system environment variable or the registry entry. Note that if you edit the registry
using regedit.exe, the PHP key should be placed under the [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node]
key. This happens automatically if you set it using a 32 bit legacy application.
----
Server IP: 64.71.164.2
Probable Submitter: 81.27.13.220
----
Manual Page -- http://www.php.net/manual/en/configuration.php
Edit -- https://master.php.net/note/edit/74256
Del: integrated -- https://master.php.net/note/delete/74256/integrated
Del: useless -- https://master.php.net/note/delete/74256/useless
Del: bad code -- https://master.php.net/note/delete/74256/bad+code
Del: spam -- https://master.php.net/note/delete/74256/spam
Del: non-english -- https://master.php.net/note/delete/74256/non-english
Del: in docs -- https://master.php.net/note/delete/74256/in+docs
Del: other reasons-- https://master.php.net/note/delete/74256
Reject -- https://master.php.net/note/reject/74256
Search -- https://master.php.net/manage/user-notes.php