Re: Compiling 2 SAPIs
| From: | Jani Taskinen | Date: | Wed, 28 Jan 2004 19:22:43 +0000 |
| Subject: | Re: Compiling 2 SAPIs | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-7382@lists.php.net to get a copy of this message | ||
On Wed, 28 Jan 2004, Andrei Zmievski wrote:
>On Wed, 28 Jan 2004, Jani Taskinen wrote:
>> It creates a static libphp5_core.a which is linked to each build
>> SAPI module / binary. Dunno how you could have same lib loaded
>> by e.g. Apache / Apache2 ?? Or what did you mean? :)
>>
>> >The best (ideal) result would be to have one libphp[45].so that contains
>> >the core. The SAPIs should link against it, so we'd have libphpembed.so,
>> >libphpapache.so, etc. Can this be done?
>>
>> My first tests had the libphp5_core lib as shared..so yes.
>> I'll update my patch a bit.
>
>Okay, is it possible to make the same patch for php4?
I didn't try, but I think the same patch might even apply
without modifying it at all. :)
The build stuff is pretty much same in both HEAD and PHP_4_3
branches, AFAICT.
--Jani