Archive for the 'FastCGI' Category

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. Continue Reading »

7 Comments »

ruslany on September 29th 2010 in FastCGI, PHP

4,729 views

PoorFairAverageGoodExcellent (No Ratings Yet)

PHP Manager for IIS 7 – beta release

Today I am releasing PHP Manager for IIS 7 – beta, which is an IIS extension for setting up and managing multiple PHP installations on IIS 7 servers. It can be used to:

  • Register PHP with IIS;
  • Run multiple PHP versions side by side;
  • 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 fille

The PHP Manager installation packages can be downloaded from these locations:

The project’s home page and documentation are located at http://phpmanager.codeplex.com/. This blog post describes how the PHP Manager for IIS can be used. Continue Reading »

7 Comments »

ruslany on August 30th 2010 in FastCGI, PHP

3,417 views

PoorFairAverageGoodExcellent (No Ratings Yet)

Slides and Questions from PHP on Windows Webcast

On April 9, Mark Brown and I did a PHP|Architect webcast “PHP Performance On Windows”. The slides from the presentation have been published at the following link:

PHP Performance on Windows – slides

There were a number of question at the end of the webcast that we did not get to answer due to lack of time. This blog post provides answers to those questions. Continue Reading »

2 Comments »

ruslany on April 13th 2010 in FastCGI, PHP, WinCache

505 views

PoorFairAverageGoodExcellent (No Ratings Yet)

PHP on IIS: MonitorChangesTo setting in FastCGI

PHP on Windows loads its configuration file php.ini during the startup of the process php-cgi.exe. When PHP is run on IIS via FastCGI the php-cgi.exe processes are re-used to handle many requests. If configuration settings in php.ini file get updated, those changes will not be picked up by php-cgi.exe processes until the processes are recycled or restarted by IIS FastCGI module. This means that any time you change the PHP configuration you have to manually recycle IIS Application Pools that use PHP. This post explains how to configure FastCGI in IIS so that PHP configuration changes take effect right away without the need to manually recycle or restart the IIS Application Pools. Continue Reading »

2 Comments »

ruslany on March 30th 2010 in FastCGI, PHP

1,363 views

PoorFairAverageGoodExcellent (No Ratings Yet)

Important update for IIS 7.0 FastCGI module

FastCGI module in IIS 7.0 has been lacking some of the features and bug fixes that are available in IIS 7.5 FastCGI module and in FastCGI Extension 1.5 on IIS 5.1 and IIS 6.0. The reason why this happened are explained in the post about FastCGI Module: Differences across IIS versions. This week IIS team has released an update for FastCGI module in IIS 7.0 that closes this remaining feature gap and ensures that FastCGI functionality is consistent across all versions of IIS.

The update can be downloaded from the following locations:

Continue Reading »

27 Comments »

ruslany on March 10th 2010 in FastCGI

2,140 views

PoorFairAverageGoodExcellent (No Ratings Yet)

FastCGI Module: Differences across IIS versions

The information in this post is not applicable anymore because the update for FastCGI module in IIS 7.0 has been made available, so now the functionality and features of FastCGI are consistent across all IIS versions. Read the release announcement to get more details about the update.

Recent release of FastCGI Extension 1.5 for IIS 6.0 and IIS 5.1 has several new features and improvements that make it easier to run PHP on Windows and IIS. However, all the new features are only available when using Windows XP or Windows Server 2003. FastCGI module on IIS 7.5 in Windows 7 and Windows Server 2008 R2 supports most of these features. FastCGI module on IIS 7 in Windows Vista and Windows Server 2008 does not support those new features yet. The reasons why this happens and the plan for updating FastCGI functionality across all platforms are explained in this post. Continue Reading »

6 Comments »

ruslany on February 5th 2010 in FastCGI

786 views

PoorFairAverageGoodExcellent (No Ratings Yet)

2 Comments »

ruslany on January 18th 2010 in FastCGI

1,100 views

PoorFairAverageGoodExcellent (No Ratings Yet)

10 Comments »

ruslany on December 16th 2009 in FastCGI, PHP

6,361 views

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

2 Comments »

ruslany on November 10th 2009 in FastCGI, PHP

430 views

PoorFairAverageGoodExcellent (No Ratings Yet)

Windows Cache Extension for PHP and CPU usage

The FastCGI module in IIS has a configuration setting maxInstances, which controls the number of concurrently running php-cgi.exe processes that IIS creates to process PHP requests. To achieve optimal performance, it is recommended to fine tune this setting for your specific environment starting with 8-10 instances per CPU core (e.g. maxInstances=32 for quad-core CPU).

The Windows Cache Extension for PHP can be used to improve performance of PHP applications running on Windows operating systems. The extension caches the compiled PHP opcode in the shared memory, which helps to avoid re-doing of such CPU intensive operations as parsing and compiling of the PHP source code. This means that when Windows Cache Extension for PHP is enabled, less CPU cycles are required for a web server to process PHP requests. Because of that, the previously configured value for the FastCGI maxInstances setting may not be adequate to load the server’s CPU completely and it may be necessary to increase the value further. Continue Reading »

11 Comments »

ruslany on September 2nd 2009 in FastCGI, PHP

1,484 views

PoorFairAverageGoodExcellent (No Ratings Yet)

Recently Published Articles