Posted by ImOk on 06/26/06 03:54
Sorry for the many questions. I am trying to understand the best way to
have a setup under Windows.
Is there a way to make PHP cache pages under Windows. ? Would it matter
if I used Apache or IIS?
Thanks
Chung Leong wrote:
> .................................
> Yes, if you're using CGI. DLL loading is quite fast on Windows though.
> Only a small portion of the file is loaded into memory initially, with
> the actual code brought in from disk only when it's used.
>
> One thing that you might want to do is toss out all the longish
> comments in php.ini. Parsing all that extra text probably has a larger
> impact on performance.
>
> > Would using dl() be more efficient? And why is it being depracated
> > under 5?
>
> Because dl() doesn't work in a multithreaded situation. While it's
> possible to get it to work with various locking and reference counting
> mechanism so that one thread doesn't unload the code used by another,
> you end up just replicating the service provided by the OS.
[Back to original message]
|