RE: [PHP-DEV] Re: Calling performance geeks
| From: | Dmitry Stogov | Date: | Tue, 14 Mar 2006 15:57:48 +0000 |
| Subject: | RE: [PHP-DEV] Re: Calling performance geeks | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-22421@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Jochem Maas [mailto:jochem@iamjochem.com]
> Sent: Tuesday, March 14, 2006 6:03 PM
> To: Dmitry Stogov
> Cc: 'Ron Korving'; internals@lists.php.net
> Subject: Re: [PHP-DEV] Re: Calling performance geeks
>
>
> Dmitry Stogov wrote:
> > Php.ini is parsed only on php startup (not on each
> request). So this
> > improvement will not give to much.
>
> <potentially-simpleton-thought>
> er - forgive me if what I say is stupid but if php is being
> pun as a CGI isn't startup overhead incurred on each and
> every request?
Right, but CGI PHP is extremly slow and this improvement willn't help.
> also given the proliferation of shared hosting with the
> capability of shoving php ini settings in .htaccess files
> (which I find myself doing quite alot) ini parsing could
> occur more than just at startup </potentially-simpleton-thought>
You are right again :)
PHP options from .htaccess are aplied on each request.
Thanks. Dmitry.
> (and please also ignore the last comment if the ini parsing
> code is completely seperate from whatever grabs/recieves
> settings from webserver config files)
>
> rgds,
> jochem
>
>