WAMP Curl installation

前端 未结 9 1284
执念已碎
执念已碎 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:10

    if you have already uncommented line from php.ini and still getting error than you should make sure that this extension file is exists in php folder or not

    so check for this file

    php_curl.dll

    in

    {wamp}\bin\php\php5.x.x\ext\

    if it's not there than download it from internet and paste it to there

    Restart Apache.

    0 讨论(0)
  • 2020-12-10 06:10
    • download curl for windows (http://curl.haxx.se/download.html)
    • Paste the zip file content into C:\wamp\bin\apache\apache2.2.x
    • Locate and open your php.ini file (resides in C:\wamp\bin\php\php5.x)
    • In your php.ini file, change/ uncomment the following line: ;extension=php_curl.dll (you do so by removing the semi-colon)
    • restart Apache or the whole server to enjoy
    0 讨论(0)
  • 2020-12-10 06:17

    Had same issue with 64 bit Windows 7. This is what worked for me.

    Answered by Soren from another SO thread - CURL for WAMP

    "There seems to be a bug somewhere. If you are experiencing this on Win 7 64 bit then try installing apache addon version 2.2.9 and php addon version 5.3.1 and switching to those in WAMP and then activating the CURL extension. That worked for me."

    0 讨论(0)
  • 2020-12-10 06:22

    Or even simpler, click the wamp icon in the notification area (bottom right of your screen), go through PHP > PHP extensions and click the second item 'php_curl'. Wamp will restart automatically.

    0 讨论(0)
  • 2020-12-10 06:22

    The php_curl.dll in a certain package of WAMP server was the wrong file, I had the same problem, I found the correct php_curl.dll file in /wamp/bin/php/php[youversion/ext/ and replaced it and it worked. See this article: http://forum.wampserver.com/read.php?2,85716

    0 讨论(0)
  • 2020-12-10 06:23

    this sloved my problem

    1. Stop WAMP completely.
    2. Find your WAMP folder C:\Path\To\WAMP\bin\Apache\ApacheVersion\bin\
    3. Edit that php.ini and uncomment extension=php_curl.dll
    4. Restart WAMP.

    That should hopefully solve it.

    0 讨论(0)
提交回复
热议问题