[wsf-c-dev] [PHP] php related settings in configure.in

nandika nandika at wso2.com
Thu Nov 15 20:53:40 PST 2007


Hi,

It is not a must to build the PHP source in order to build the 
extension. But the PHP way of doing that is to build the php source,
then build the required extensions using that. But we wrote our custom 
build file which builds our extension without building the PHP source.
When using our custom build file, We need to have both PHP source and 
PHP binary of the same version number.
PHP source is required because PHP binary does not contain the include 
headers. PHP Binary is needed to get the php5ts.lib file against which ,
we link our extension. win32build is a set of a headers and binaries 
required to build PHP or an extension. Without it, the compiler will 
complain
about some missing headers.

-- Nandika

Samisa Abeysinghe wrote:
> Samisa Abeysinghe wrote:
>> PHP_SRC_DIR = E:\lib\php-5.2.5
>> PHP_BIN_DIR = E:\lib\php-5.2.5-Win32
>> WIN32BUILD_DIR = E:\php\win32build
>>
>> We have three setting. Why need them? Specially, I do not get why we 
>> need both PHP_BIN_DIR and WIN32BUILD_DIR?
>
> One more related question, is it a must that I build PHP source to 
> build WSF/PHP? Can I not use the php binary and build WSF/PHP with that?
>
> Samisa...
>
>
> _______________________________________________
> Wsf-c-dev mailing list
> Wsf-c-dev at wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/wsf-c-dev
>
>





More information about the Wsf-c-dev mailing list