Call to undefined function curl_init() - with WAMP

后端 未结 3 2040
慢半拍i
慢半拍i 2020-12-05 07:10

I\'m trying to get cUrl to work, and I\'m stumped.

I\'ve uncommented extension=php_curl.dll in the php.ini file and checked that php_

3条回答
  •  死守一世寂寞
    2020-12-05 07:26

    For me this did the trick: http://www.phpmind.com/blog/2011/02/how-to-enable-curl-in-wamp/

    1) Close WAMP (if running)

    2) Navigate to WAMP\bin\php(your version of php)\

    3) edit php.ini

    4) Search for curl, uncomment extension=php_curl.dll

    5) Navigate to WAMP\bin\Apache(your version of apache)\bin\

    6) edit php.ini

    7) Search for curl, uncomment extension=php_curl.dll

    8 ) Save both

    9) Restart WAMP

提交回复
热议问题