note 71023 added to install.windows
| From: | afitzs at for-finance dot com | Date: | Wed, 08 Nov 2006 19:11:21 +0000 |
| Subject: | note 71023 added to install.windows | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-119520@lists.php.net to get a copy of this message | ||
I have found the following procedure to work correctly EVERY time for installing PHP version 5.x.x
on Windows 2003 servers. (I have done over 100 of these on Web, Standard & Enterprise)
1. Download the current PHP Zip file to a folder of your choosing.
2. Download the old Installer.exe (I use 5.0.2)
3. Run the installer and accept the defaults in all cases except the IIS server, choose IIS 6.0 or
later. The installer will complain that a script map is not registered and ask you if you want to
register it. SAY YES!!!
4. Run the installer a *second* time, using the same settings as above. This time instead of the
complaint that a script is not registered you should see a black dos box open and then close. This
is your clue that the install was successful.
5. Copy your PHP .zip file to c:\php and extract and overwrite all files from the regular installer.
6. Edit c:\windows\php.ini to enable any extensions you may need and to set the extension directory
to c:/php/ext
All should be good to go. Test by running an info() from the web server.
I have used this install on over 100 installs of 2003/IIS web servers. Generally they have been
virgin installs, but a few have had existing sites on them. Using the above method I am able to
install PHP in under 2 min. Of course, these are windows systems thus your mileage may vary.
Note: I just tried to use the new .msi installer without success. Resorted to the above procedure
and now have 5.2.0 running on the new server.
Note2: PHP powers that be, please make a copy of the old installer available again somewhere easily
found by people. I would be screwed if I had not kept an archive copy of the 5.0 installer.
----
Server IP: 66.163.161.117
Probable Submitter: 71.83.36.131
----
Manual Page -- http://www.php.net/manual/en/install.windows.php
Edit -- https://master.php.net/note/edit/71023
Del: integrated -- https://master.php.net/note/delete/71023/integrated
Del: useless -- https://master.php.net/note/delete/71023/useless
Del: bad code -- https://master.php.net/note/delete/71023/bad+code
Del: spam -- https://master.php.net/note/delete/71023/spam
Del: non-english -- https://master.php.net/note/delete/71023/non-english
Del: in docs -- https://master.php.net/note/delete/71023/in+docs
Del: other reasons-- https://master.php.net/note/delete/71023
Reject -- https://master.php.net/note/reject/71023
Search -- https://master.php.net/manage/user-notes.php