Re: dl and extension directive in php.ini
| From: | Hans Zaunere | Date: | Thu, 01 May 2003 20:28:41 +0000 |
| Subject: | Re: dl and extension directive in php.ini | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-1141@lists.php.net to get a copy of this message | ||
--- Derick Rethans <derick@php.net> wrote:
> On Thu, 1 May 2003, Rasmus Lerdorf wrote:
>
> > Not sure what you are reading, but yes, if you use extension=foo.so in
> > your php.ini file, then foo.so is only loaded at server startup time.
> > However, due to funky Apache startup stuff, it is actually loaded,
> > unloaded and then loaded again at startup, but from then on there is no
> > per-request loading or unloading as there is with dl().
pfweww, that's good then. I couldn't imagine why it would need to reload for
every request, but after reading (or reading *too* deeply):
http://us2.php.net/manual/en/zend.possibilities.php#zend.possibilities.external
http://us2.php.net/manual/en/zend.possibilities.builtin.php
I started to get worried. I guess, in the first link above, under
Disadvantages, this statement caught me:
"The shared objects need to be loaded every time a script is being executed
(every hit), which is very slow."
This isn't true, though.
Anyway, thank you,
H
>
> Just wondering... do you know the reason for that funky apache
> loading stuff?
>
> Derick
>
> --
> "my other box is your windows PC"
> -------------------------------------------------------------------------
> Derick Rethans
> http://derickrethans.nl/
> PHP Magazine - PHP Magazine for Professionals
> http://php-mag.net/
> -------------------------------------------------------------------------
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>