PHP Manager is a user-friendly graphical utility designed to simplify the installation and administration of PHP on Windows servers running Internet Information Services (IIS) — Microsoft's powerful, secure, and high-performance web server. IIS is a popular choice for hosting websites and web apps on Windows platforms, and PHP Manager streamlines the process of integrating PHP into this environment. Using PHP Manager, you can manage multiple PHP versions, toggle extensions on or off, and adjust PHP settings through the php.ini file, all via an intuitive interface built for IIS.
This guide explains how to install PHP Manager for IIS on a Windows Server. The following step-by-step instructions will also demonstrate how to deploy a sample PHP application to ensure your setup is functioning correctly.
Prerequisites
- Deploy a Windows Server instance on centron.
- Access the server remotely.
- Download and install the Microsoft Web Platform Installer.
Rather have your server managed?
centron takes care of updates, monitoring and troubleshooting: managed servers from €54.04 per month, run in our own data center in Germany. View managed servers →
Prefer to manage it yourself? Cloud servers from €4.04 per month →
Step 1: Install IIS on Windows Server
- Open the Windows Server Manager.
- Choose Add roles and features.
- In the installation wizard, select Role-based or feature-based installation and click Next to proceed.
- Scroll through the list of roles and check Web Server (IIS).
- Click Next and confirm the IIS installation.
- After installation, open your Windows Server’s public IP address in a web browser to verify IIS is running.
Step 2: Install PHP Manager on Windows Server
- Download PHP Manager from the official Microsoft portal.
- Run the downloaded
.msisetup file and complete the installation on your server.
Step 3: Install PHP and IIS CGI
- Open the Microsoft Web Platform Installer from the Start menu.
- In the search bar (upper right), type IIS CGI.
- From the search results, click Add next to IIS: CGI.
- Then, search for PHP 7.4 and select PHP 7.4 (x86) for installation.
- Click Install to download and add the necessary components to your server.
Step 4: Set Up PHP Manager with IIS
- From the Start Menu, open Internet Information Services (IIS) Manager located under Windows Administrative Tools.
- Select your server name within the IIS Manager interface.
- Click PHP Manager under the IIS section.
- Verify the installed PHP version and click Check phpinfo().
- When prompted, select localhost as the test URL and click OK to display your PHP configuration information.
PHP Info
- To register multiple PHP versions, download the desired version and choose Register new PHP version within PHP Manager.
- To modify PHP or edit the
php.inifile, open the PHP Settings section in PHP Manager. - To install, enable, or disable PHP extensions, navigate to the PHP Extensions area.
Step 5: Test PHP on Windows
- From the Start menu, open Notepad as an administrator (under Windows Accessories).
- Insert the following PHP script into the file:
Further reading
You might also like
Linux BasicsLinux Performance Tuning: Optimize Kernel, CPU, Memory & Network
Optimize Linux performance with kernel tuning, profiling tools, and TCP networking adjustments for faster and more efficient systems.
Linux BasicsLinux sed Command Tutorial: Syntax, Examples & Use Cases
Learn how to use the Linux sed command with syntax, practical examples, search, replace, line editing, advanced text processing techniques.
UbuntuHow to Add and Configure Swap Memory on Ubuntu 24.04
Add and configure swap memory on Ubuntu 24.04 to enhance performance, prevent system slowdowns, and handle demanding workloads efficiently.
Get started for free
Sign up and receive €200 credit at centron within your first 60 days.
This promotional offer applies to new accounts only. Available exclusively to businesses.