Php enables curl and openssl. php enables curl and openssl.
To enable the php curl function library
1) remove the file in windows/php. ini; prefix extension = php_curl.dll;/* use echo phpinfo () to view the php. ini path */
2) copy php5/libeay32.dll and ssleay32.dll to the system directory windows/# if the php environment variable is not the php installation path, this operation is required for php. ini in the system's default c: \ windows.
3) restart apache or iis
========================================================== ======================================
Configure php to support curl
Curl is a file transfer tool that uses the URL syntax to work 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, http put, FTP upload, kerberos authentication, HTTP upload, proxy server, cookies, user name/password authentication, and resumable download of downloaded files, resumable Upload of uploaded files, the http proxy server pipeline (proxy tunneling), and even IPv6 and socks5 proxy servers, which upload files to the FTP server through the http proxy server, are very powerful. Network ant in the Windows operating system, which can be achieved by the flash get function. To be accurate, curl supports file upload and download. Therefore, curl is a comprehensive transmission tool. However, users often call curl a download tool.
※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※※
Php_curl.dll has been built in. in the ext Directory, this DLL is used to support SSL and zlib.
In php. ini, find extension = php_curl.dll and remove the preceding comment.
Set extension_dir = c: phpext. when the PHP page is refreshed, an error is reported, indicating that the module php_curl.dll cannot be found.
Copy php_curl.dll to windowssystem32.
After searching for it online, you need:
Libeay32.dll, ssleay32.dll, php5ts. dll, php_curl.dll
Copy all to the system32 directory and restart IIS.