note 66768 added to install.windows.iis
| From: | sschefer at scheferonline dot net | Date: | Sun, 28 May 2006 18:56:31 +0000 |
| Subject: | note 66768 added to install.windows.iis | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-112453@lists.php.net to get a copy of this message | ||
I have sucessfully installed PHP 4 and 5 on every windows server version since 2000 (not NT4) and
XP. It is simple but there are a couple of pre-requisites that I've never seen mentioned.
1. Most of the problems folks are experiencing on the server side are .NET 2.0 induced. If you must
run .NET 2.0 then you need dll's that were compiled with Visual Studio 8. The big push behind
VS.8 and the Express editions is to get you off of PHP and onto C#. Keep that in mind when you
develop apps.
2. You can run .NET 2.0 and Visual studio on XP with PHP and IIS if you install Visual Studio first.
Visual studio installs its own dedicated version of IIS that works with .NET 2.0 but will not run
php. After VS is installed go ahead and install the included XP version of IIS and configure your
virtual sites with PHP. If you do it the other way around, VS will incorporate itself into the xp
IIS and your PHP will probably not run.
3. Put the PHP ini file where windows wants it, in the (system root) "c:\windows" dir. If
you do that, and you are using only the ISAPI dll's, you just need to change the ini file to
point to the ext directory correctly and it will run fine. I usually do all the pathing
recommendations and set phprc=(php directory) too. I also leave a copy of the current ini file in
the php directory root just incase php forgets to consult with the OS before looking for something.
Most of the problems with permissions are comming from .NET 2.0. You should never have to weaken
security to get PHP to run.
4. Slightly out of scope but important nonetheless. If you do not run .NET 2.0, the ordering of your
extensions (ie..mysql.dll, etc.) becomes far less important. You may see a hang occasionally but its
rare.
Hope this helps someone.
Steve
----
Server IP: 64.71.164.2
Probable Submitter: 67.180.201.185
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/install.windows.iis.php
Edit -- http://master.php.net/note/edit/66768
Del: integrated -- http://master.php.net/note/delete/66768/integrated
Del: useless -- http://master.php.net/note/delete/66768/useless
Del: bad code -- http://master.php.net/note/delete/66768/bad+code
Del: spam -- http://master.php.net/note/delete/66768/spam
Del: non-english -- http://master.php.net/note/delete/66768/non-english
Del: in docs -- http://master.php.net/note/delete/66768/in+docs
Del: other reasons-- http://master.php.net/note/delete/66768
Reject -- http://master.php.net/note/reject/66768
Search -- http://master.php.net/manage/user-notes.php