|
Posted by Chung Leong on 04/22/06 00:39
emilper@gmail.com wrote:
> Hi,
>
> while using mod_php in apache:
>
> If I am including one .inc file in one page, does it get compiled and
> kept in memory so when I include the same file in another page on the
> same server, the server won't have to search for it and recompile it ?
No, not unless you buy a PHP accelerator.
> does mod_php provide other advantages besides preloading the php
> interpretor/compiler in memory ?
Yes. Persistent database connections only work when PHP runs as a
module. There're assort of savings too, like not having to reread the
ini file or reload the extensions.
Navigation:
[Reply to this message]
|