Cantech Knowledge Base

Your Go-To Hosting Resource

How to Setup PHP Manager on Windows with IIS?

Introduction

PHP Manager is a powerful tool on Windows servers with IIS (Internet Information Services). You can manage multiple PHP versions or configure PHP settings using it.

Moreover, this graphical tool makes it super simple to install, run, and manage PHP on your IIS web server. Also, you can enable or disable PHP extensions and configure settings in the php.ini file using PHP Manager. This is highly essential for the smooth running of PHP-based applications.

Let us now understand the step-wise process to install PHP Manager on a Windows server with IIS. Also, you will learn how to set up a simple PHP application to verify your installation.

Prerequisites

  • A Windows Server set up and running on a platform like Cantech.
  • Remote access to the server (use Remote Desktop Protocol or RDP).
  • Microsoft Web Platform Installer needs to be installed on the server.

Step 1 – Install IIS (Internet Information Services)

First, let’s get IIS set up on your server.

  • Open Windows Server Manager on your server.
  • When you click on Add roles and features, a wizard will open. In that, choose Role-based or feature-based installation
  • Click Next.
  • Click on Web Server (IIS) from the list of roles. Again, click Next.
  • Confirm that IIS is selected and proceed with the installation.
  • After installation is done, go to your web browser and enter your server’s public IP address.

You will see the IIS welcome page after everything is set up correctly.

Step 2 – Download PHP Manager for IIS MSI and Install It

IIS is running now, so the next step is to download and install PHP Manager for IIS. PHP Manager is available as an .msi installer that you can run directly on your Windows Server.

  1. Go to the Microsoft Portal and download PHP Manager for IIS 10.
  2. Once the download is complete, run the .msi installer on your Windows Server.
  3. Follow the installation wizard to complete the PHP Manager installation.
  4. After installation, open IIS Manager and verify that PHP Manager appears in the IIS section.

Step 3 – Install PHP and Enable IIS CGI Support

This step is essential for enabling PHP on your IIS server.

  • Open the Microsoft Web Platform Installer from the Start menu.
  • Type IIS CGI in the search bar at the top.
  • You will see various results. Click on Add next to IIS: CGI.
  • Next, type ‘PHP 7.4’ in the search bar.
  • Then, select PHP 7.4 (x86) and click Install.
  • The installation will download and set up PHP on your server (with required packages & dependencies).

Step 4 – PHP Manager Configuration

Now PHP Manager is installed too. Next, you can configure it through the IIS Manager after you install PHP for IIS.

  1. Open IIS Manager (search for it in the Start menu under Windows Administrative Tools).
  2. Select the name of your server in the left panel.
  3. You will see the IIS section; click on PHP Manager over there.
  4. The PHP Manager interface will show the installed PHP version. Click Check phpinfo() to view detailed information about your PHP installation.
  5. A dialog will appear. Set localhost as the test URL and click OK to see the current PHP info on your server.

PHP Info

Additional Configuration

  • You can install more PHP versions. Download the PHP version and go to ‘Register new PHP version’ in PHP Manager.
  • Go to the PHP Settings section to modify PHP settings or the php.ini file.
  • The PHP Extensions section includes installations and enabling/disabling extensions.

Step 5 – Test PHP on Windows

Lastly, let’s verify if PHP is working correctly on your Windows server.

  • Open ‘Notepad’ as an administrator from the Start menu (right-click and select Run as administrator or from Windows Accessories group).
  • Paste the following PHP code into the Notepad file:
<?php
echo "<h1> PHP has been successfully set up on your Windows Server. </h1><br>";
echo "<h3> Here’s the currently installed PHP version and its details: </h3><br>";
phpinfo();
?>
  • Save it as ‘All Files’ in the directory – C:\inetpub\wwwroot\ Give it a custom name like test.php.
  • Now, open your web browser and enter the following URL.
http://windows-server-ip/test.php
  • Replace windows-server-ip with your actual server IP address.
  • You will see the PHP information page. This confirms that PHP is working fine and everything is set up properly.

Conclusion

Now, you can run PHP applications on your server and even switch between different PHP versions easily. PHP Manager makes managing PHP on your IIS server a lot more manageable. It simplifies the process of handling PHP extensions, modifying configuration files, and even switching between multiple PHP versions. To learn more about managing PHP settings and versions, be sure to check out Microsoft’s official documentation for PHP Manager.

FAQs

How to install PHP on IIS?

To install PHP on IIS, download PHP and install PHP Manager. Then open IIS Manager, add the PHP path, and restart IIS to make it work properly.

Where Can You Download PHP Manager for IIS MSI?

PHP Manager for IIS is available as an .msi installer from the Microsoft IIS website. Download PHP Manager for IIS 10 run the MSI file on your Windows Server, and then open IIS Manager to access PHP Manager and configure PHP.

October 7, 2026