Call to undefined function curl_init() - with WAMP

后端 未结 3 2049
慢半拍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:45

    WAMP 2.2 comes with a wrong cURL extension. You should download the fixed file from the following link:
    http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/. Then replace the file php_curl.dll into /php5.4.3/ext/.

提交回复
热议问题