PHP7 (phpng) deployment in the Windows environment

Source: Internet
Author: User

A long time did not write a blog, in order to help the small partners around, but also for their own memory more solid, or record the career of PHP (Daniel do not spray, welcome more friends to join the group: 13768387)

As a phpcodeer, has been like to study PHP, once a new version appeared, immediately carried out production environment testing, but there have been nightmares, in order to see the dawn of victory, can only sacrifice the production environment, but also thank me around the small partners, you are my biggest motivation! The following is the deployment of the php7.0 environment in a WINDOW7 environment: (On-line mass deployment for your own choice)

First step: php7.0 source Download (as of 2015.8.03)

More operating system download the appropriate version, do not forget the window under the compiler, VC14

2.1 vc14:http://www.microsoft.com/en-us/download/details.aspx?id=48145

2.2PHP7 Program: http://windows.php.net/qa/

Part II: Unzip the downloaded directory and configure the PHP extension directory (under the Declaration, the. exe or. msi Program is temporarily deprecated)

Expand directory to your own PHP directory

PHP.ini Configuration items:


Extension_dir = "D:/wamp/php7.0/ext"

To turn on common extensions:

The third step, integrating PHP7 and apache2.4

Main changes under Apache under the httpd.conf

LoadModule php7_module "D:/wamp/php7.0/php7apache2_4.dll"
AddType application/x-httpd-php. php. html. htm
Phpinidir "d:/wamp/php7.0"

So far PHP7 integration completed, if there is a 500 error or the server can not find the URL, it is Apache rewrite or program error, if in doubt, welcome to join the group: 13768387

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

PHP7 (phpng) deployment in the Windows environment

Related Article

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.