PHP Manager 1.2 for IIS 7

PHP Manager is a graphical tool that allows you to install, run, and manage PHP versions on a Windows server running the Internet Information Services (IIS) webserver. It can enable or disable PHP extensions and configure PHP settings through the php.ini file as required by hosted applications.

In this article, you will learn how to install PHP Manager on a Windows Server with IIS. Furthermore, you will set up a sample PHP application to test the installation.

Prerequisites

  • Deploy a Windows Server on Vultr.
  • Remotely login to the server.
  • Download and Install the Microsoft Web Platform Installer.

Step 1: Install IIS

  • Open the Windows Server Manager.
  • Select Add roles and features.
  • In the open window, navigate through the options and select Role-based or feature-based installation, click Next to continue.
  • Then, scroll through the list of roles and select Web Server (IIS).
  • Click Next, and confirm IIS installation.
  • Finally, visit your Windows Server Public IP address in a web browser.

Step 2: Install PHP Manager

  • Download PHP Manager from the Microsoft Portal here.
  • Install the downloaded .msi setup file on the server.

Step 3: Install PHP and IIS CGI

  • From the Start menu, locate and open Microsoft Web Platform Installer from the applications list.
  • Now, in the search bar (top right), enter the keyword IIS CGI.
  • From the list of results, click Add next to IIS: CGI.
  • Next, enter PHP 7.4 in the search bar and select PHP 7.4 (x86) from install.
  • Click Install to download and add the packages to your server.

Step 4: Setup PHP Manager

  • Open the Windows Start Menu, then locate and open the Internet Information Services (IIS) manager under the Windows Administrative Tools group.
  • Now, select your Server name in the IIS Manager Window.
  • Then, click PHP Manager from the tabbed IIS group.
  • Verify the installed PHP version, and click Check phpinfo().
  • In the open dialog, select localhost as the test URL and click OK to view your current PHP information.

  • To install multiple PHP versions, download the PHP version, and click Register new PHP version in PHP Manager.
  • To configure PHP and the phpini file, navigate to the PHP Settings section in PHP manager.
  • To install, enable or disable extensions, navigate to the PHP Extensions section.

Step 5: Test PHP on Windows

  • From the start menu, locate and open Notepad as an administrator from the Windows Accessories group.
  • Then, add the following contents to the file:

    <?php echo "<h2> PHP is sucessfully installed on this Windows Server </h2><br>"; echo "<h3> Below is the current installed PHP version and Information: </h3> <br>"; phpinfo(); ?>

Save the file in the C:\inetpub\wwwroot\ directory as All Files, with a custom name and the .php extension, for example, test.php.

  • Now, open a browser and load the PHP file on your server.

    //windows-server-ip/test.php
  • Your PHP application should load and display the server PHP Information.

Conclusion

You have successfully set up PHP Manager and installed PHP on your Windows Server. Next, you can build and run PHP applications on the server. For further information on how to use PHP Manager, refer to the Microsoft documentation page.

Want to contribute?

Free PHP Manager for IIS is a tool for managing one or many PHP installations

4.5 

PHP Manager for IIS is a tool for managing one or many PHP installations on IIS 7 and IIS 7.5 servers.

Use it to:

-Register PHP with IIS;
-Validate and properly configure existing PHP installations;
-Run multiple PHP versions side by side on the same server and even within the same web site;
-Check PHP runtime configuration and environment (output of phpinfo() function)
-Configure various PHP settings
-Enable or disable PHP extensions
-Remotely manage PHP configuration in php.ini file

Screenshots (2)

PHP Designer

Powerful PHP IDE and PHP editor with built-in HTML, CSS and JavaScript editor

ZZEE PHP GUI

Easy-to-install PHP application solution for Windows

Tags

How configure PHP in IIS 7?

Open IIS Manager. At the server level, double-click Handler Mappings. In the Actions pane, click Add Module Mapping..
Request path: *. php..
Module: FastCgiModule..
Executable: "C:[Path to your PHP installation]\php-cgi.exe".
Name: PHP via FastCGI..

How install PHP manager IIS?

Download and Install the Microsoft Web Platform Installer..
Step 1: Install IIS. Open the Windows Server Manager. ... .
Step 2: Install PHP Manager. Download PHP Manager from the Microsoft Portal here. ... .
Step 3: Install PHP and IIS CGI. ... .
Step 4: Setup PHP Manager. ... .
Step 5: Test PHP on Windows..

How can I change PHP version in IIS?

I suggest you install php manager in IIS. It can help you manage different versions of php and it is simpler to add new php than configure fastcgi manually..
Click php manager to register new php version..
Choose the php-cgi.exe of php 7.3. ... .
Click Change php version to check which version of php is using now..

How do I get PHP to work in IIS?

Download PHP and the WinCache extension..
Install PHP and WinCache..
Add the PHP installation folder to the Path environment variable..
Set up a handler mapping for PHP..
Add default document entries for PHP..
Test your PHP installation..

Chủ đề