Fwd: [PHP-WEBMASTER] How to Building PHP from source on windows XP?which library file must be requied?
| From: | 陈彬 | Date: | Wed, 05 Nov 2008 08:40:43 +0000 |
| Subject: | Fwd: [PHP-WEBMASTER] How to Building PHP from source on windows XP?which library file must be requied? | ||
| References: | 1 2 3 4 | Groups: | php.internals.win |
| Request: | Send a blank email to internals-win+get-160@lists.php.net to get a copy of this message | ||
I Building PHP from source on windows XP SP3,download and install "Windows
Server 2003 PSDK Full Download with Local Install" always throwed out
"error:Faile to launch the file:C:\psdktemp\default.htm",why?
---------- Forwarded message ----------
From: Hannes Magnusson <hannes.magnusson@gmail.com>
Date: 2008/11/3
Subject: Re: [PHP-WEBMASTER] How to Building PHP from source on windows
XP?which library file must be requied?
To: 陈彬 <leconsc@gmail.com>, internals-win@lists.php.net
Good question.. have you looked at the wiki
(http://wiki.php.net/internals/windows) ?
-Hannes
2008/11/3 陈彬 <leconsc@gmail.com>:
> 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 <hannes.magnusson@gmail.com>
>>
>> 2008/10/31 陈彬 <leconsc@gmail.com>:
>> > 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
>
--
我是陈彬
努力不一定成功,但放弃一定失败