Home > Article > Backend Development > How to build your own PHP implementation on the windows platform (only for php5.2)_PHP tutorial
Building steps
1, install vs2008
2, install windows sdk 6.1
3, download php 5.2 source code, you can get it from hereReleases (Don’t unzip it yet)
4. Download bindlib_w32.zip, Click to download bindlib_w32.zip
5. Download win32build.zip, Click to download win32build.zip
6. Download libxml2, iconv, zlib and other libraries http://www.zlatkovic.com/pub/libxml/
7. Create C:php5.2-mybuild (you can also change it to The desired directory, such as C:test, etc.). Then create C:php5.2-mybuildwin32build, C:php5.2-mybuildbindlib_w32, C:php5.2-mybuildphp-src.
8. Unzip win32build.zip to C:php5.2-mybuildwin32build. After decompression, C:php5.2-mybuildwin32build should contain bin, include, lib and other subdirectories.
9. Unzip bindlib_w32.zip to C:php5.2-mybuildbindlib_w32.
Compile bindlib_w32, and put the generated resolv.lib into C:php5.2-mybuildwin32buildlib, overwriting the original one.
10. Unzip the php 5.2 source code to C:php5.2-mybuildphp-src
11. Open the windows sdk 6.1 shell and type the following command: