Home  >  Article  >  Backend Development  >  PHP does not support CURL solution

PHP does not support CURL solution

WBOY
WBOYOriginal
2016-07-25 08:50:551016browse
Recently, in order to register the domain name of the openkee.com blog, the website program was temporarily transferred to et53.com. Since the blog uses the emlog kernel and uses cloud plug-ins, a 500 error was reported when submitting the log. The server uses PHP+IIS. I checked the remote server and found that two DLL files were not copied to the system32 directory. It happens that these two DLLs support CURL. OK, if the reason is found, then copy these two DLL files to the system32 directory.
                 
                                                                                                                                                                                                                                                                                                                     


Method:
    1. Find the following two DLL files in the PHP environment installation directory: ssleay32.dll and libeay32.dll;
  1. 2. Copy these two DLLs to the C: windowssystem32 directory;
  2. 3. Restart IIS;
  3. 4. Done!
  4. Other situations that may cause CURL to fail to load and use:
  5. php.ini Is php_curl.dll enabled [If not, please remove the semicolon in front and restart IIS]
  6. Cannot be loaded under Apache CURL, handle it like this:
  7. Configure it in Apache’s httpd.conf file:
  8. LoadFile "D:/webserver/php/ssleay32.dll"
  9. LoadFile "D:/webserver/php/libeay32.dll"
  10. Then restart the Apache service and it will be OK.
  11. All done, if you still have questions, please leave a message here to discuss.
  12. Copy code
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn