Php5664-bit win7curlinit solution

Source: Internet
Author: User
: 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.

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.