WAMP Curl installation

前端 未结 9 1274
执念已碎
执念已碎 2020-12-10 05:52

I have uncomment the following from the php.ini file

;extension=php_bz2.dll
extension=php_curl.dll
;extension=php_dba.dll

Also ,I have cop

9条回答
  •  温柔的废话
    2020-12-10 06:28

    I had the same problem with Wampserver 2.2 (64 bit). Here's what I did to get it working:

    1) Go to wampserver->PHP->PHP extensions, enable the php_curl extension

    2) Open \bin\php\php5.3.13\php.ini and uncomment the following line: extension=php_curl.dll

    3) Go to \bin\php and copy libeay32.dll and ssleay32.dll into your windows\system32 folder

    4) If you try and restart wampserver's services, you'll notice that lib_curl still doesn't work. Turns out that the version of php_curl.dll bundled in the pack is not compiled correctly.

    Apache's error log contained the following:

    Warning: PHP Startup: Unable to load dynamic library

    'c:/wamp/bin/php/php5.3.13/ext/php_curl.dll' - The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

    5) You'll need a properly compiled version of php_curl.dll. I downloaded php_curl-5.3.13-VC9-x64.zip from this blog post:

    [www.anindya.com]

    Direct link:

    [www.mediafire.com]

    I replaced php_curl.dll inside \bin\php\php5.3.13\ext with the one above, and everything worked fine smiling smiley 6) To test if the cURL extension is working for you, try this code snippet

    `

    
    

    `

    Here's another post with similar info (I found this after I wrote these instructions): [www.o3n.org]

提交回复
热议问题