: This article mainly introduces the php5664-bit win7curlinit solution. if you are interested in the PHP Tutorial, please refer to it. PHP7 is compiled by vc14. to run PHP7, install the VC2015 Library first.
Https://www.microsoft.com/en-us/download/details.aspx? Id = 48145
First, enable PHP support in apache (apache needs to download version 2.4VC11)
End of httpd. conf 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 the php homepage to the dir_module.
DirectoryIndex index.html index. php index.htm
To enable php5.5 or 5.6 and php7 to support curl library steps
Set system variables in computer environment variables (note: not user variables)
Create phpext value E: \ AppServ \ php56 \ ext // extension path
Create PHPRC value E: \ AppServ \ php56 // php path
Path: add E: \ AppServ \ php56 // php Path
After setting the variable, make sure it is determined repeatedly to make the variable take effect (the previous failure, the original reason)
After this setting, if you modify the PHP version in apache
(For example, LoadModule php5_module "E:/AppServ/php55/php5apache2_4.dll ")
It is not loaded to version 5.5. Only Version 5.6 can be run. if you want to run version 5.5 again, you must modify the path corresponding to the environment variable.
In addition, php5.4 is not successful. forget it. use 5.5, 5.6, and 5.4. the official version of is no longer maintained. we recommend that you discard it.
The above describes the php56 64-bit win7 curl init solution, including the content, hope to be helpful to friends interested in PHP tutorials.