News Feed
Jobs Feed
Sections




News Archive
Alexey Zakhlestin's Blog:
FastCGI in PHP - The way it could be.
June 11, 2006 @ 13:26:04

Alexey Zakhlestin shares with us in this new blog post, how the fast-cgi PHP developers think they're using isn't really a true FastCGI.

Most PHP programmers believe, that PHP has support for FastCGI. They refer to fastcgi-sapi, which is bundled with php since long ago, and which was recently reimplemented for PHP 5.1.3/4. This SAPI really does exist and actually working quite good. But… it is not a real fast-cgi. It is just an imitation of mod_php which is linked against fastcgi api, instead of apache api. So, it's time for you to ask: if it exists and works, then what am I talking here about? Let's start from the basics...

He talks about a history of how things go to where they are, starting back with regular CGI scripts, moving up through using server-based APIs, and finally to FastcGI, a method for overcoming a lot of the limitations of its predecessors.

With that look back, he turns his attention around and looks to the current situation within PHP. He talks about the sudden appearance fastcgi made in PHP's SAPIs, but that the implementation wasn't true. He suggests that the reasoning behind this "fake" implementation was for the sake of speed. He also notes, however, it's his opinion that true FastCGI support in PHP will be a requirement for future large-scale applications.

0 comments voice your opinion now!
fastcgi sapi fake implementation fastcgi sapi fake implementation


blog comments powered by Disqus

Similar Posts

Alexey Zakhlestin's Blog: PHP+SCGI part 2: problem with eZComponents

Content with Style: Zend Framework with nginx and php-fastcgi

Dries Buytaert\'s Blog: Drupal webserver configurations compared

JSLabs Blog: Microsoft's PHP initiative

Community News: Announcing Go Live Beta of FastCGI Extension for PHP hosting on IIS5.1/IIS6.0


Community Events









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


event phpunit composer community podcast language release zendframework2 functional interview opinion framework introduction api conference object example code development testing

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