Antony Dovgal wrote:

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?
Linking against libxml2 costs 0.4MB and libxml2 itself 2.1MB.

Reply via email to