The ultimate solution to the invalid Windows Curl extension

Source: Internet
Author: User

Recently installed a OpenCart e-commerce website, web site needs to open Curl extension, refer to the online method wood has been successful, and finally studied for a long time, now sorted out, and everyone share, I hope you less detours.

No nonsense, direct to dry! The operation is divided into four steps:

1, start the configuration file php.ini file Php_curll.dll extension, as for the configuration file php.ini file path according to your installation environment, my directory is "D:\Develop\PHP\" under;

2, online commonly used Libeay32.dll, Ssleay32.dll, Php_curll.dll Copy to the "C:\System32" directory or Copy to "C:\SysWOW64" approach is very inappropriate, normal practice is this: computer-- System variables, environment variables, advanced system settings, right-click Properties, and then locate the path system environment variable (add a path manually), edit the path variable value to add the PHP environment root, save.

3. Restart Apache service, Win+r->cmd->services.msc->apache service (my service name is Apache24)

4, Php.info () check whether the Curl module is open, some words have been successfully opened;

or write a test script, the content Type Php_init (), browser access does not display "call to undefined function curl_init ()" error message, stating that the effective

Finish the call!!!


Reference article http://www.cnblogs.com/lyongde/p/4145296.html

The ultimate solution to the invalid Windows Curl extension

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.