News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Stuart Herbert's Blog:
Making IIS Practical In Production For PHP
December 18, 2008 @ 10:24:24

Stuart Herbert, prompted by this post from Derick Rethans uses this new post to his blog to point out something that didn't seem to be mentioned and has always been a pet peeve of his when running PHP on IIS - controlling the FastCGI processes so they don't take over the machine.

Running PHP via CGI and FastCGI means that IIS has to do the Windows equivalent of fork()ing off PHP processes to do the actual PHP bit. If your box has too many PHP processes running, the box will start to swap. Once a webserver starts swapping, you've no chance in hell of keeping up with all the incoming requests, and your websites on that particular webserver become unavailable in a matter of moments.

The problem seems to have been corrected in the most recent IIS release, though and correct directions can be found here. Older versions of the web server are out of luck, unfortunately.

0 comments voice your opinion now!
iis microsoft webserver practical fastcgi cgi iis7 documentation process


blog comments powered by Disqus

Similar Posts

ThinkPHP.de: Import and export data using PHPExcel

Leonid Mamchenkov's Blog: Where did all the PHP programmers go?

Pavel Shevaev's Blog: Make php-fpm execute arbitrary PHP scripts via socket

Blue Parabola Blog: On Writing CDC

Stuart Herbert's Blog: Using suexec To Secure A Shared Server


Community Events











Don't see your event here?
Let us know!


component unittest podcast overview language package security introduction install application composer framework facebook performance release hhvm opinion symfony2 database hack

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework