Re: question
| From: | Chris Lee | Date: | Fri, 17 Nov 2000 10:18:46 +0000 |
| Subject: | Re: question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-26005@lists.php.net to get a copy of this message | ||
ok, this is where people start yelling and screaming saying im wrong, but
Im pretty sure this is how it works.
when you compile as static it takes all the libraries you asked to link
with, ie. libgd, MySQL, libpdf, etc and puts them inside the libphp4 file, that
way libphp4 gets big, its slightly faster (problably not much if any),
and if some hacker kid gets in your system and puts a trojan version of
libpdf, then your libphp4 isnt affected because you compiled it
statically (I dont think this is a huge concern)
I usually compile as shared just so that I can be lazy and dont have to
recompile php if I compile a new version of libpng etc.
Chris Lee
In article <Pine.OSF.4.30.0011171811400.16402-100000@ewald.mbi.ucla.edu>,
holton@mbi.ucla.edu wrote:
>
> I just wanted to say thanks to everyone who has helped in this list. I
> have yet another question:
>
> Can anyone explain the different between static and dynamic PHP? And
> does making a new static PHP have any effect on an already running
> dynamic PHP
> (libphp4.so) sitting in my /usr/lib/ and /usr/lib/apache directories?
> thanks again,
>
>
>
>