PHP and MySQL website with IIS in windows system

Post all general server OS related issues....

PHP and MySQL website with IIS in windows system

Postby Praveen » Thu Apr 30, 2009 6:57 pm

The following is the procedure to install php & MySql website in the windows operation system.

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
User avatar
Praveen
Site Admin
 
Posts: 93
Joined: Sat Apr 25, 2009 2:21 pm

Return to General/Server OS related issues

Who is online

Users browsing this forum: No registered users and 0 guests

cron