IIS & PHP Section
1. Install IIS from the windows Components available in the Add/Remove programe. .
2. Download PHP MSI installation file from the link http://www.php.net/downloads.php
3. Install PHP MSI package and choose IIS CGI option.
4. Chose the location c:\php
5. Open IIS by typing iis.msc in the Run.
6. Select your website and go to properties.
7. Go to Home Directory tab.
8. Click configuration and select mapping tab.
9. Browse and select the c:\php\php-cgi.exe file and type “.php” (without quotes) in the extention.
10. Click OK to all of the boxes and grant all CGI extension from the web services extensions.
11. For testing purpose the following you have to do.
a. Create a file named phpinfo.php
b. Open the file with WordPad or notepad
c. Copy the following content to the file
- Code: Select all
<?php
phpinfo();
?>
12. Place the file in your root folder of the website and point this file in the browser (eg: http://localhost/phpinfo.php)
13. It will give the information about the php configuration, then you are done with your php installation.
MySQL Section
