Re: Re: slow performance
| From: | Henning Eiben | Date: | Wed, 25 Apr 2007 13:32:54 +0000 |
| Subject: | Re: Re: slow performance | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.general php.windows |
| Request: | Send a blank email to php-general+get-253701@lists.php.net to get a copy of this message | ||
Stanislav Malyshev wrote:
>> OK; so for serving multiple concurrent clients ISAPI would sound to me
>> like the better choice, since it can use threads, or what would be the
>> advantage of using fastcgi?
>
> Non-threaded PHP is faster than threaded PHP, because it doesn't need to
> do locks between threads and keep the thread context through the code,
> etc. So FastCGI usually would be faster and also more stable since the
> memory space is not shared. It forgoes some advantages of threaded
> application, but overall it is faster.
OK, so I will give that a try. As far as I understand, I basically just
have to replace the association of ".php" to "php5isapi.dll" with
"php-cgi.exe"; and then set the global path to include my php-folder, right?
--
... ERROR: CPU not found.