PHP7 is Vc14 compiled, if you want to run the VC2015 library must be installed first
https://www.microsoft.com/en-us/download/details.aspx?id=48145
Start PHP support in Apache first (Apache needs to download 2.4VC11 version)
Httpd.conf End of Line
LoadModule php5_module "E:/appserv/php56/php5apache2_4.dll"
Or
LoadModule php7_module "E:/appserv/php7/php7apache2_4.dll"
Phpinidir "e:/appserv/php56/"
AddType application/x-httpd-php. php
AddType Application/x-httpd-php-source. Phps
Add PHP home page in dir_module module
DirectoryIndex index.html index.php index.htm
To allow php5.5 or 5.6 and PHP7 to support the Curl library step
Set the system variable in the computer environment variable (note: Not a user variable)
New Phpext value E:\AppServ\php56\ext//extension path
New PHPRC value E:\AppServ\php56//php path
Path adds E:\AppServ\php56//php paths
Set up must be repeatedly determined to make the variable effective (previously unsuccessful, it is the reason)
This is set after Apache if you modify the PHP version
(e.g. LoadModule php5_module "E:/appserv/php55/php5apache2_4.dll")
will not load to version 5.5, only run version 5.6, if you want to change back to run version 5.5, be sure to modify the path of the environment variable corresponding
In addition php5.4 how did not succeed, forget it, with 5.5,5.6 on the line, 5.4 officials have not maintained, suggest abandon
The above describes the PHP56 64-bit Win7 Curl init solution, including the aspects of the content, I hope to be interested in PHP tutorial friends helpful.