Call to undefined function curl_init() error in wamp 2.2

前端 未结 9 1879
悲&欢浪女
悲&欢浪女 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:11

    just a guess - this section in php.ini does not reference the correct location

    ; Directory in which the loadable extensions (modules) reside.
    extension_dir = *some value*
    

    http://www.php.net/manual/en/ini.core.php#ini.extension-dir

    edit

    Also, look for this block in your phpinfo, if it's not there, curl isn't loading (obviously). You're not looking for matching version numbers - just for the block's existence.

    curl section in phpinfo

    edit

    look at this question also

    PHP and CURL under Windows 7 64 bits and Apache

提交回复
热议问题