Skip to content
Related Articles

Related Articles

How to Install PHP in IIS on Windows?

View Discussion
Improve Article
Save Article
  • Last Updated : 03 May, 2022

PHP is a high-level programming language. It is mainly used for web development purposes. Along with HTML language, PHP is highly used also. HTML is used to collect data from users. And PHP is used to manipulate the data & give some output to the user. Nowadays, javascript is taken place of PHP language. Developers have used widely javascript along with HTML language. IIS is an Internet Information Service. It is supported by Microsoft. It is a type of extension. It is used to work with website browsers. Before going for installation, it is important to install the IIS website extension on the machine. It is called an extension, but it is full software that supports IIS in the machine itself.

Features:

  • PHP is platform-independent, which means it can be downloaded & installed in any operating system.
  • PHP provides various database supports. So, along with PHP, anyone could access the databases.
  • Also, PHP is known for its security purposes. Many components are present in PHP that provides a high-security purpose.

Installing PHP on IIS

Follow the following steps to install PHP on IIS:

Step 1: At first, the IIS Manager Home page should be opened. There is an option Web Platform Installer will present. That should be clicked.

Select-Web-Platform-Installer-option

 

Step 2: Wait for some time till the Installer is starting. It will take some time.

Wait-for-some-time-to-install

 

Step 3: After that, a list of software will be available. From there proper PHP version should be chosen. There will be many PHP versions available. Among them, one should be added. Click on the Add button to add that software.

Click-on-the-Add-button-to-Add-PHP

 

Step 4: After clicking on Add button, at the bottom of the page, one Install button will be enabled. Click on it, it will install the PHP.

Click-on-install-button

 

Step 5: Then one new window will be opened. There click on Accept button. Along with PHP, it will also install some prerequisites for running PHP in IIS.

Click-on-I-Accept-button

 

Step 6: After that, the installation will start. It will take a lot of time. Wait till the installation is completed.

Wait-for-the-installation-to-complete

 

Step 7: After successful installation, the Web Platform Installer will start again. Wait for some time to complete the configuration.

Wai-for-sometime-to-complete-the-configuration

 

Step 8: Then again the complete list will be visible. If the PHP version is searched, it will be marked as Installed. Hence, PHP is installed successfully in IIS.

PHP-is-installed-successfully

 

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!