VC11 (vs2012) to compile PHP

Source: Internet
Author: User
Tags php source code
Need raw materials: vs2012, PHP source code

1, the MinGW of the machine is not done, refer to the online article try vs2012 compile, with the help of vs2012 command line tool:

2, the command line tool to switch to PHP-SRC, enter the Buildconf.bat (source code comes with), enter.

3. Input Cscript/nologo configure.js--disable-all--enable-cli create minimized compilation makefile

4. When prompted to enter the NMAKE command. Input, enter, wait for compilation.

5. The test is successful

" echo ' hello,php '; "

Reference:

1, http://blog.linuxphp.org/archives/1592/

2, http://demon.tw/software/compile-php-on-windows.html

VC11 (vs2012) to compile PHP

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.