Re: [PHP-WEBMASTER] How to Building PHP from source on windows XP?which library file must be requied?

[email protected] ("Hannes Magnusson")
Newsgroups php.internals.win
Message-ID <[email protected]>
Good question.. have you looked at the wiki
(http://wiki.php.net/internals/windows) ?

-Hannes


2008/11/3 陈彬 <[email protected]>:
> I am compiling PHP version 5.26, the use of tools is Visual Studio C + + 6 +
> SP6.
> Configuration is as follows:
>
> Include files:
> d:\php\compile\win32build\include
> d:\php\compile\libxml\include
> d:\php\compile\zlib\include
> d:\php\compile\libiconv\include
> d:\php\compile\php-5.2.6
> d:\php\compile\php-5.2.6\tsrm
> d:\php\compile\php-5.2.6\zend
>
> Library files:
> d:\php\compile\win32build\lib
> d:\php\compile\libiconv\lib
> d:\php\compile\libxml\lib
> d:\php\compile\zlib\lib
>
> With the manual steps like:
> 1.Create the directory d:\php\compile.
> 2.Download the Windows build tools and unzip the contents into
> d:\php\compile
> 3.Create the directory c:\usr\local\lib. Copy the
> Dd:\php\compile\win32build\bin\bison.simple into the new directory.
> 4.Download the Windows DNS resolver library and unzip the contents into
> d:\php\compile.
> 5.Open d:\php\compile\bindlib_w32\bindlib.dsw. If and when asked whether to
> update the project, choose Yes. Choose either Debug or Release configuration
> in the top toolbar, then choose Build => Build Solution.
> 6.Obtain a copy of the PHP source and extract it into the d:\php\compile
> directory. At this point, that directory should look something like this:
>
> +-D:\php\compile
> | +-bindlib_w32
> | | +-Debug
> | | | +-resolv.lib
> | | | +-...
> | | +-...
> | +-win32build
> | | +-bin
> | | +-include
> | | +-lib
> | +-libxml
> | | +-bin
> | | +-include
> | | +-lib
> | +-zlib
> | | +-bin
> | | +-include
> | | +-lib
> | | +-...
> | +-libiconv
> | | +-bin
> | | +-include
> | | +-lib
> | | +-...
> | +-php-5.2.6
> | | +-build
> | | +-win32
> | | +-...
>
> ......
>
> Compile always occur fllowing errors:
>
>  not found file:zend_config.h
>  not found file:php_config.h
>  not found file:strings.h
> .......
>
> How to generate zend_config.h, php_config.h?
> How to compile php  on windows XP SP3
>
>
>
>
>
> 2008/11/1 Hannes Magnusson <[email protected]>
>>
>> 2008/10/31 陈彬 <[email protected]>:
>> > I have contained the library files:
>> > 1.LIBXML
>> > 2.ZLIB
>> > 3.ICONV
>> >
>> > Compile always occur fllowing errors:
>> >
>> > not found file:zend_config.h
>> > not found file:php_config.h
>>
>> These files are autogenerated... How exactly did you compile PHP? (and
>> which version?)
>>
>> -Hannes
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.