PHP does not support Curl's workaround

Source: Internet
Author: User
Recently in order to give openkee.com blog domain name filing, the site program temporarily transferred to Et53.com above, because the blog is Emlog kernel, and use the cloud plugin, resulting in the submission of log Times 500 error. The server is Php+iis, look at the remote server, the results found that there are two DLL files are not copied to the System32 directory, it happens that this two DLL is support curl. OK, the reason is found, then the two DLL files copied to the System32 directory.




    1. Method:
    2. 1, in the PHP environment installation directory found the following two DLL files: Ssleay32.dll and Libeay32.dll;
    3. 2. Copy the two DLLs to the C:\windows\system32 directory;
    4. 3. Restart IIS;
    5. 4, Done!
    6. Other situations that may cause curl to fail to load:
    7. php.ini if the Php_curl.dll "is not turned on, please remove the preceding semicolon and restart IIS"
    8. You cannot load curl under Apache to handle this:
    9. In Apache's httpd.conf file, configure the following:
    10. LoadFile "D:/webserver/php/ssleay32.dll"
    11. LoadFile "D:/webserver/php/libeay32.dll"
    12. Then reboot the Apache service to be OK.
    13. All done, if there is a problem, then please leave a message to discuss here.
Copy Code
  • 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.