With PHP support Curl

Source: Internet
Author: User
Tags http post zen cart
Configure PHP to support curl

Today installed Zen Cart appeared curl not compiled problems, Internet search, problem solving.

Curl is a file transfer tool that works with URL syntax in the command line mode.
It supports many protocols: FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE, and LDAP.
Curl also supports HTTPS authentication, HTTP POST method, HTTP put method, FTP upload, Kerberos authentication, HTTP upload, proxy server, cookies, username/password Authentication, download file breakpoint continuation, upload file breakpoint to continue transmission, The HTTP proxy server pipeline (proxy tunneling), even it supports IPV6, SOCKS5 proxy server, uploading files via HTTP proxy server to FTP server and so on, the function is very powerful. Windows operating system under the network ant, the Internet Express (FlashGet) function it can do. To be exact, curl supports file uploads and downloads, so it's a comprehensive transfer tool, but traditionally, users are accustomed to calling curl a download tool.

Specific measures:

1, copy the PHP directory of Libeay32.dll and ssleay32.dll two files to system32 directory.

2, modify PHP.ini: Configure the Extension_dir, remove extension = Php_curl.dll front of the semicolon.

Other Notes:

Installation of extended Php_curl.dll under PHP

The Php_curl.dll is already built in, and in the EXT directory, this DLL is used to support SSL and zlib.

Find the Extension=php_curl.dll in php.ini and remove the previous comment.

Set Extension_dir=c:phpext, refresh php page times wrong, said to find module Php_curl.dll.

Copy Php_curl.dll to Windowssystem32, or the same mistake.

On the internet to find a bit, you need to:

Libeay32.dll, Ssleay32.dll, Php5ts.dll, Php_curl.dll

are copied to the System32 directory, restart IIS or Apache.
  • 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.