PHP56 64-bit Win7 Curl init workaround

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

  • 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.