OK, so you tried installing PHP and it did not go well. Here are the steps I used.
When using the installer, I believe there is a universal agreement that though it might work, that
too many things can go wrong. Ok, here we go:
- Install Server 2003/SP2 and IIS 6 on your server
- Got to www.php.net, upper part of page, download php 5.2.10
- Make sure you download the Win Bin Zip Package
- Create a folder for php, like c:\php5
- Open the Zip File
- Copy all the files to the folder you just created - c:\php5
- Go to the Windows directory
- Copy php.ini.recommended to the Windows Directory
- Rename the file to just php.ini in the Windows Directory
- Got to system32 Directory under the Windows Directory and copy php5ts.dll to it from the c:\php5 folder
- Go to IIS
- Right click Web sites, and select Properties
- Select the HOME tab
- Select Configuration
- Add button, then browse to c:php5
- Select php5isapi.dll
- Add the extension .php
- Ok, Ok
- Select Document Tab
- Add index.php
- Select the Web Services Folder
- Right Click on it
- Select Add new Extension
- Add PHP
- Add phpisapi.dll
- Check the "set allow extension"
- Go to the root of your web site, like inetpub\webroot\ Create an index.php with Notepad
and add:
<?php
phpinfo();
?> - Save
- In browser go to url http://localhost
- PHP Info should pop up
Giving due credit where credit is due, there is a great How to video on the above steps at: Video Tutorial


0 comments:
Post a Comment