PHP Manager 1.0 for IIS 7 – stable release

PHP Manager is a tool for IIS 7 that greatly simplifies installation, configuration, management and troubleshooting of PHP in IIS. A beta release of the tool has been published a month ago and since then it has been downloaded nearly five thousand times. Today I am releasing the final stable build of PHP Manager 1.0 for IIS 7, which includes new features and fixes for the bugs reported in the beta release.

Both x86 and x64 builds of PHP Manager 1.0 for IIS 7 can be downloaded from the project’s page at codeplex.com:

http://phpmanager.codeplex.com/releases/

Note: if you already have the beta release installed then it will be upgraded when you install the final build of PHP Manager 1.0 for IIS 7.

PHP Manager 1.0 can be used 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.

The most important feature introduced in this release is the validation and optimization of existing PHP configurations on IIS. When you install PHP Manager 1.0 on IIS server that already has PHP installed and configured, the PHP Manager will analyze the IIS and PHP configuration settings and will inform you if any of those are not set to recommended values:

Once you click on “View Recommendations” link you will see the list of settings with the description of what’s wrong and what a recommended corrective action should be. You can choose to apply some or all of the recommendations:

Other significant changes and bug fixes included in this release are:

  • Support for running different PHP versions within the same web site;
  • Functionality to set IIS default document to index.php;
  • Links to quickly open php.ini file and PHP error log file;
  • Detection of PHP registered via CGI or ISAPI;
  • Detection of PHP that is registered by using command line arguments in IIS handler mapping.

Thanks to all who have tried the beta release and provided feedback and bug reports!

48,439 views

ruslany on September 29th 2010 in FastCGI, PHP

PoorFairAverageGoodExcellent (1 votes, average: 5.00 out of 5)

7 Responses to “PHP Manager 1.0 for IIS 7 – stable release”

  1. Gravatar ImageRichard Quadling responded on 30 Sep 2010 at 2:54 am #

    Hi.

    Just installed the PHP Manager.

    Upon loading, I get a dialogue …

    “PHP Manager”
    “The php.ini file cannot be found. Make sure PHP is correctly registered with IIS.”

    Choosing OK and PHP Manager shows …

    “Information about PHP cannot be obtained due to invalid IIS configuration.”

    Using ProcMon to watch for Paths containing php and highlighting Paths with ini in them, I can see that the PHP Manager is not using the same logic to locate the ini file that PHP uses.

    My php file is determined by HKLM\Software\PHP\5\IniFilePath (which is set to D:\PHP\INI

    Then my INI files are …

    D:\PHP\INI\php-cgi-fcgi.ini
    D:\PHP\INI\php-cli.ini

    I can supply the output of ProcMon if required.

    Regards,

    Richard Quadling.

  2. Gravatar Imageruslany responded on 30 Sep 2010 at 7:07 am #

    Hi Richard, thanks for trying it out and reporting this problem. You are right – PHP manager is not looking in the registry. I did not think of the registry option before, that’s why it is not implemented. I will get it fixed in the next release.

  3. Gravatar ImagePHP Manager for IIS 7 Released! : Brian Swan's Blog : The Official Microsoft IIS Site responded on 30 Sep 2010 at 8:05 am #

    [...] Ruslan Yakushev announced the availability of the final, stable release of the PHP Manager for IIS (v1.0).  (It is available for download [...]

  4. Gravatar ImageRuss responded on 30 Sep 2010 at 1:21 pm #

    @Richard Quadling- I am getting the exact same error as you.

    @ruslany – Is there a work around to get php manage to work?

  5. Gravatar Imageruslany responded on 30 Sep 2010 at 1:33 pm #

    Hi Russ,

    The workaround would be to set the PHPRC environment variable in the <fastcig> section to point to the directory where your php.ini file is located. Here is an example of a command line that does that:

    appcmd.exe set config -section:system.webServer/fastCgi /[fullPath='C:\php\531NTS\php-cgi.exe',arguments=''].environmentVariables.[name='PHPRC'].value:"D:\PHP\INI\" /commit:apphost

    (Make sure to replace the fullPath and the value to match the paths on your system)

    Or, if you have Windows 7 (Windows Server 2008 R2) you can do it in IIS Manager UI.

    I’ll work on enabling this support in the next release of PHP manager.

  6. Gravatar Imageruslany responded on 30 Sep 2010 at 5:10 pm #

    The private build that supports getting php.ini location from registry is available at:

    http://phpmanager.codeplex.com/releases/view/53208

  7. Gravatar Imagech responded on 05 Aug 2014 at 8:04 pm #

    “PHP Manager”
    “The php.ini file cannot be found. Make sure PHP is correctly registered with IIS.”
    ——
    把相对应的映射删了就好。
    在PHP Manager 1.2中有

Trackback URI | Comments RSS

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

XML Markup: If You want to add XML code to the comment please XML encode it first, otherwise the code will not show up.

Recently Published Articles