Re: Building PHP, questions

From: Date: Thu, 13 Mar 2014 18:50:22 +0000
Subject: Re: Building PHP, questions
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hey.

Yes, all dependencies are being ported to that build system. PHP is the biggest dependency though.
There are many scripting languages I like, that are even small (ph7, objectscript) - but I trust the
original PHP the most - so I wish to use it in my project. Hence, to make it compatible with my
project, I also need to make it build-able in my project.

About TSRM; thats fine. I didnt expect it to be removed - an dhonestly, why patching a way a feature
thats actually very useful? ^^

As said, I am unable to use autotools before, during or after the build process, so if I want to or
not, I must compile a basic PHP by myself, including generating the needed header files - config.h
if I am not wrong.

Kind regards, Ingwie
Am 13.03.2014 um 19:41 schrieb Pierre Joye <[email protected]>:

> hi,
> 
> On Thu, Mar 13, 2014 at 7:15 PM, Kevin Ingwersen
> <[email protected]> wrote:
>> The thing is, that the build itself cant run buildconf or configure, so I have to
>> „port“ the libphp5 part to the build system I am using.
>> With minimal, I just mean to have a runnable scripting engine. Basicaly, i want to rebuild
>> what you get when using —disable-all —enable-static —enable-embed.
> 
> Do you do that for all dependencies you have for your project (libs)?
> 
> PHP embend is nothing else that just another library. As Johannes
> suggested, it could be much easier for you to simply use the static
> build instead of redoing the configure&build scripts, and much easier
> to update to newer versions as well.
> 
>> How far is TSMRC a dependency of PHP actually? I might actually need the thread sefety, so
>> I bet i should compile that in in any case.
> 
> You can hardly remove it, unless you want to spend weeks patching php.
> It is a requirement for thread safety too (TSRM mean Thread safe
> resource manager :).
> 
> Cheers,





Thread (9 messages)

« previous php.internals (#73116) next »