Steps to Install PHP on Windows Dedicated Server

Every dedicated server hosting package includes powerful scripting languages to help you build excellent websites and applications. A few of them are PHP, Perl, Ruby on Rails, Python, etc… In order to use them you need to decide the platform on which you are going to run these scripts.

PHP is one of the popular server-side scripting languages also known as Hypertext Preprocessor majorly used in IT industry to develop dynamic web applications. Basically, Mr. Rasmus Lerdorf first introduced it in the year 1995. Generally, php is widely used scripting language especially suitable for web development field as well as easily can be embedded into HTML. This script normally runs on a web server, but if you are going to use it o n a windows dedicated server you will needs it to install on IIS windows server.

Below are the steps along with the screen-shots which will help you to install the PHP scripting language on your Windows Dedicatd Server.

Step 1

PHP is free scripting language available on the PHP website. Simply, download the latest version of PHP, extract the .RAR file and rename php.ini-recommended to php.ini.

Step 1 - PHP Installation on Windows Dedicated Server

Step 2

Create a new directory on the following path:
c:/program files/php5
Once you have created the directory, copy all that php downloaded data.

Click start — Settings — Control panel — Administrative tools — intelnet information tools — Right click on website — Properties — Home Directory — Click on Configration — configuration window will open

Step 2 - PHP Installation on Windows Dedicated Server

Step 3

You will have to Add application extension. Click add and the path of php5isapi.dll from c:/program files/php5/php5isapi.dll.

Step 3 - PHP Installation on Windows Dedicated Server

Step 4

Choose the extension .php — Click ok and simply select Home Directory of Web site properties.

Now click add and type index.php — OK — Apply the properties — OK

Lastly, on the left side select the web service extensions and choose “Add new web service extension.” Now, click add new extension.

Step 4 - PHP Installation on Windows Dedicated Server

Step 5

Click on the Add button — select the path C:\Program Files\PHP5 \php5isapi.dll and click on OK.

Step 5 - PHP Installation on Windows Dedicated Server

Step 6

Allowing index.php files to run as a directory default

Step 6 - PHP Installation on Windows Dedicated Server

Step 7

Now, copy C:\Program Files\PHP5\php.ini-dist to C:\WINDOWS\php.ini and simply restart your IIS windows server. Enter this url (http://localhost/test.php) in the your browser to test. If your PHP installation is completed successfully you will be able to see the PHP info page.