Bobcares

 Set Up PHP Manager on Windows 10/11 with IIS

PDF Header PDF Footer

Discover how to set up PHP Manager on Windows 10/11 with IIS. Our IIS Support team is ready to assist.

 Set Up PHP Manager on Windows Server with IIS

If managing PHP on a Windows Server environment is complicated, you have come to the right place.

With PHP Manager, administrators can easily install, configure, and manage PHP directly from within the Internet Information Services (IIS) Manager interface. This tool simplifies tasks like registering PHP versions, tweaking PHP settings, and enabling extensions.

 Set Up PHP Manager on Windows Server with IIS

Today, we will explore the step-by-step process to set up PHP Manager on a Windows Server using IIS.

Prerequisites

Before we begin, we need:

  • A Windows Server or Windows Desktop
  • IIS (Internet Information Services) installed
  • Administrator privileges

Step 1. Install IIS on Windows Server

The easiest way to install IIS and related components is via the Web Platform Installer (Web PI). This ensures we are using the latest stable versions.

First, download and open Microsoft Web Platform Installer. Then, search for “IIS” and install the required components with a few clicks.

Alternatively, we can manually install it with these steps:

  1. Open Server Manager on your Windows machine.
  2. Then, click on Add Roles and Features.
  3. Select Role-based or feature-based installation and click Next.
  4. Scroll through the list of roles and select Web Server (IIS).
  5. Click Next and confirm the installation.
  6. Once installed, verify IIS by visiting your server’s public IP in a web browser.

Experiencing issues like sxs_assembly_missing during setup? Here’s how to fix it: IIS error_sxs_assembly_missing

Step 2. Install PHP Manager

  1. Download PHP Manager for IIS from the Microsoft portal.
  2. Then, run the `.msi` setup file and complete the installation.

Follow these steps to verify PHP installation:

  1. Open Notepad as Administrator.
  2. Enter the following code:
    <?php phpinfo(); ?>
    Copy Code
  3. Save the file as `Phpinfo.php` in `C:\inetpub\wwwroot\`.
  4. Open the browser and go to http://localhost/phpinfo.php .

We will see a well-formatted page displaying the current PHP configuration.

Step 3. Install PHP and CGI Components

  1. Launch Microsoft Web Platform Installer from the Start menu.
  2. Search for `IIS CGI` and click Add next to IIS: CGI.
  3. In the search bar, type `PHP 7.4` and select PHP 7.4 (x86).
  4. Click Install to complete the installation.

If PHP causes high CPU usage after setup, troubleshoot it using this PHP-CGI.exe high CPU usage guide.

Step 4. Configure PHP Manager in IIS

  1. Open IIS Manager from the Start Menu under Windows Administrative Tools.
  2. In the Connections panel, click the Server Name.
  3. Under the IIS section, double-click PHP Manager.

From here, we can:

  • View the installed PHP version.
  • Click Check phpinfo() to confirm the configuration.
  • Register new PHP versions using Register new PHP version.
  • Configure settings in the PHP Settings section.
  • Manage extensions in the PHP Extensions section.

Step 5. Create a PHP Info Page

  1. Open Notepad as Administrator.
  2. Paste the following code:
    <?php
    echo "PHP is successfully installed on this Windows Server
    ";
    echo "Below is the current installed PHP version and Information:
    ";
    phpinfo();
    ?>
    Copy Code
  3. Save the file as `test.php` in `C:\inetpub\wwwroot\`.
  4. Open a web browser and navigate to http://your-windows-server-ip/test.php

Running into a PHP 500 Internal Server Error on IIS? Learn how to fix it here.

We will see a confirmation message and the PHP configuration info.

[Need assistance with a different issue? Our team is available 24/7.]

Conclusion

With PHP Manager, managing PHP on IIS is easy and efficient.

In short, our Support Engineers demonstrated how to set up PHP Manager on Windows 10/11 with IIS.

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Get featured on the Bobcares blog and share your expertise with a global tech audience.

WRITE FOR US
server management

Spend time on your business, not on your servers.

TALK TO US

Or click here to learn more.

Speed issues driving customers away?
We’ve got your back!