Re: PHP footprint and sharing code among SAPI binaries
| From: | Antony Dovgal | Date: | Wed, 27 Feb 2008 08:48:00 +0000 |
| Subject: | Re: PHP footprint and sharing code among SAPI binaries | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-35813@lists.php.net to get a copy of this message | ||
On 26.02.2008 23:48, Eugene San wrote:
> 1) Is there any reason to link all PHP SAPI modules statically with all
> PHP objects?
In most cases you need only one SAPI, so there is no reason to share something.
> 2) Is it possible to extract all shared functionality to shared object
> and links all SAPI modules against it?
That's how it works on Win32.
And I have to mention that I've seen LOTS of bug reports from people who forget
to update php(4|5)ts.dll when upgrading PHP.
> 3) Next issue is XML with DOM support, we where using LIBXML2 but that
> costs ~2.5MB are there there options for supporting that?
What costs 2.5MB?
Dynamic linking against libxml2.so?
--
Wbr,
Antony Dovgal