PHP opens Curl and OpenSSL
To open the PHP Curl Library
1). Remove the Windows/php.ini file; Extension=php_curl.dll Front; /* with Echo phpinfo (); View PHP.ini's Path */
2). Copy the Php5/libeay32.dll,ssleay32.dll to the system directory windows/#如果php环境变量不是php安装路径, php.ini This action is required under system default C:\Windows
3). Restart Apache or IIS
=========================================================================
Configure PHP to support curl
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 continuation, HTTP Proxy service (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.
※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※
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.