Call to undefined function curl_init() error in wamp 2.2

前端 未结 9 1881
悲&欢浪女
悲&欢浪女 2020-12-05 02:21

I am having below error when I try to implement google and facebook authentication in windows 7 using wamp server.

Fatal error: Call

相关标签:
9条回答
  • 2020-12-05 03:13

    (windows 10 user)

    Since this is the first result in Google and I had exactly the same problem and none of your solutions worked for me and I finally find the correct solution in an other thread of stackoverflow, I'll post link here : EasyPHP Devserver 16.1 Curl Win 10

    The solution is to add the your current PHP directory (depend of which version you use) to your global "path" variable in windows (like explained in the link, but you don't need to add all php directorias of course)

    0 讨论(0)
  • 2020-12-05 03:15

    Visit this and have a file under Fixed curl extensions: http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/ after download and replace related file then restart server. In browser navigate to localhost and make sure there is curl extensions showing under Loaded Extensions :

    0 讨论(0)
  • 2020-12-05 03:15

    Change the extention in php.ini file uncomment by removing ; like below

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

    Then restart all services and it will work.

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