Re: Curious about something....
| From: | Curt Zirzow | Date: | Fri, 21 Nov 2003 15:38:58 +0000 |
| Subject: | Re: Curious about something.... | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-170570@lists.php.net to get a copy of this message | ||
* Thus wrote Dan Joseph (djoseph74@earthlink.net):
> Hi,
>
> > > The question sounded more like a technical one - is it an advantage in
> > > terms of memory? CPU? startup overhead? etc.
>
> Yeah, it was mostly a technical one, and it was also one that left me
> scratching my head. I guess in other languages, I just import or include
> the library I want to use for each project. Unfortunately, I can't just
> always recompile PHP everytime I want to use a different one, and was trying
> to find some justification for this. I've decided that I'm gonna go thru
> and get a list of all the libraries I want to enable, and do it all at once
> when I can.
You can build php with what you consider you'll be using the most
and enable (as shared modules) the other modules you might consider
using in certain scripts.
Then in a script that uses the shared module, you can just add
dl('mcrypt.so') in the sript.
Curt
--
"My PHP key is worn out"
PHP List stats since 1997:
http://zirzow.dyndns.org/html/mlists/