PHP Configuration in IIS and Apache Web Server



The Steps For Installation of PHP with Apache Server are:


1.      Click on Start->Control Panel->add/remove Program.
2.      Click on add/remove windows components and select IIS(insert XP CD).
3.      Wait will IIS is installed on your system
4.      To configure IIS with PHP go to start->control panel-> administrative tools ->IIS.
5.      Expand the local computer tab
6.      Right Click on Default Website and select properties..
7.      In the website properties window select the home directory tab and click on configure button.
8.      In the application configuration window click on add button.
9.      In add/edit application extension mapping dialog box browse the php.exe file and add the .php extension in the textbox and click on OK.
10.  Restart the Machine Once.
11.  Your Apache web Server Is configured with PHP. Note That all the.php files are to be saved in c:\Inetpub\wwwroot\.

The Steps For configuring of PHP with Apache Server are:


1.       First of all install the iis for that go to control panel.
2.       Select Add/Remove Program.
3.       From the select add windows component
4.       Check mark the IIS (Internet Information Service) and Click Next.
5.       After Completion of installation to configure IIS with PHP open Control Panel.
6.       Select Administrative tool
7.       From this select the internet information service option
8.       It will open the page.
 9.       Now expand the tree by clicking on the “+” sign from left side menu.
10.   Right click on the web site option and select properties.
11.     After Selecting the properties it will display the dialog box.
12.   Now from this select the Home Directory tab as shown.
13.   Click on the Configuration Button. it will display another property dialog box.
14.   Click on add option and then it will ask the information of the PHP.exe file
15.   Click on the browse option and locate the php.exe file from c:/program files\php folder provide an extension “.php” in the extension textbox and click on OK.
16.   This will configure PHP with IIS.

No comments:

Post a Comment

=>Advanced Java Programming (J2EE)

1.  Syllabus 2. Unit Wise Question/Material 3. Paper 4. Previous Paper