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