Re: IIS5, ISAPI PHP Slow load after timeout
| From: | Alan McDonald | Date: | Fri, 04 Jun 2004 13:59:15 +0000 |
| Subject: | Re: IIS5, ISAPI PHP Slow load after timeout | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-23921@lists.php.net to get a copy of this message | ||
Is there any way to build the isapi version of PHP such that there is no
small stub dll (i.e. php4isapi.dll) and the main dll php4ts.dll - but
instead to have one monolithic dll. This would force IIS to load and cache
the dll permanently.
Alan
"Alan McDonald" <alan@meta.com.au> wrote in message
news:20040604065741.76394.qmail@pb1.pair.com...
> I have Win2000 Server, PHP4 installed with ISAPI module.
> Output_buffer is ON
> php4isapi is in the c:\php directory
> php4ts.dll is in the system32 directory.
> All works OK especially when traffic is high to the site.
> But when traffic is low and I assume a timeout expires, it appears to me
> that php4ts.dll is unloaded and only reloads when another page is hit.
Then
> it remains until I leave the site inactive for a period. Then after
hitting
> the site a few times, pages are delivered quite fast again.
> Is there a way of forcing php4ts.dll to remain loaded? if this is in fact
> the problem. I know php4isapi.dll remains loaded because I can't rename it
> while the application is loaded but I can rename php4ts.dll after a period
> of idle activity, so it doesn't remain loaded.
> Anyone try adding it to the application list?
> Alan