Skip to main content

Configure/Install PHP on IIS windows

Step 1 - Download Php from http://www.php.net/downloads.php

In order to configure or install PHP on IIS, copy the php.ini file from the php directory to the windows directory. If there are any changes in the "PHP.ini" file.make sure the  copies of "PHP.ini" in windows and PHP folder are synchronized.

Step 2 -  Goto IIS , Right click on the default website, select properties



Step-3: Click on configuration Button,Goto Mapping Tab, Click on Add button and add the same as given in screenshot



Step 4:-  Click on and then Close the IIS.

Step 5:- Right Click on My Computer>>Select properties>>advance Tab>>select Environment variables
Step 6:- Select Path from system variable and then add the path  to the PHP directory, Add a semicolon and then paste the path in variable value
Step 7:- Add a New variable called PHPRC and give the variable value as path of php directory
Step 8: - Create a file at the root of IIS and name it info.php and write
phpinfo();?>

   into it save it and close
Step 9 :- Call the file  from the iis you will get a list  like this


, now here is you PHP configured
Check the  best link for php installation on windows 

Comments

Popular posts from this blog

Http 500.50 URL Rewrite Error

Symptoms: HTTP Error 500.50 - URL Rewrite Module Error. Error Information Module- RewriteModule Images are broken and not displayed in wordpress, Images are displayed when you edit them,Wordpress Images Broken, Wordpress Images Upload Issue This post if for the people who are searching all the pages over internet for " HTTP Error 500.50 - URL Rewrite Module Error". You might be searching for the pages which will give you solution to install/uninstall the url rewrite module.When you are running Wordpress on Windows server 2008 these types of error pops up.  So I scratched my head and started searching and found out one website which is useful in this type of error. Then I filtered everything and prepared a process for this.This will reduce your turn around time. Step-1: Open PHP.ini and search for  "upload_tmp_dir" and change the value to windows temp directory "C:\Windows\Temp" Step-2: Right click On the Windows/Temp folder and assi...

DotNetNuke

What is DotNetNuke ? DNN (DotNetNuke) is the leading web Content Management System (CMS) for Microsoft, powering over 700,000 production web sites worldwide. DotNetNuke was written in VB.Net. It is distributed under both a Community Edition MIT license and commercial proprietary licenses i.e., Professional and Enterprise Editions. You can download the DotNetNuke Trial Edition from the below link http://www.dotnetnuke.com/Products/Professional-Edition-Trial.aspx Below link provides a quick overview of how to get up and running with DotNetNuke. http://www.dotnetnuke.com/Resources/Video-Library/Viewer/Video/449/View/Details/DotNetNuke-6-2-Getting-Started.aspx

Usage of Ternary Operator

You can optimize the code by using the ternary operator, pass a parameter to this function it will compare the salary with the given value and if the condition satisfied It will print the value before the colon and if not satisfied it will print the value after colon. Ternary Operator (?:) condition ? condition satisfied : Condition not satisfied string TernaryOperatorUsage(int Salary) {     return salary >= 5000 ? "Congratulations! You are eligible for a pay hike." :                        "Sorry! You're not eligible for a pay hike."; } The above example illustrates the use of ternary operator in your code.