tags:

views:

692

answers:

2

Hi,

Is there a SAPI module for PHP 5 for supporting the thttpd web server? Oddly, the one included on PHP 5.2.6 source is for PHP 4.x.

Thanks, Kenneth

+2  A: 

The thttpd SAPI that ships with PHP 5 works. Ignore the README where it says "PHP 4".

However, understand that PHP for thttpd is single-threaded. All other requests will stall while PHP is executing. This is might be acceptable for a low traffic site or embedded application. If not, I recommend trying nginx, another lightweight web server that runs PHP in a separate process via FastCGI.

David Phillips
A: 

php-5.2.9-1-Win32 i download the above from php.net but this does not have any folder named SAPI what should i do now ........