dougai6464 2013-08-23 20:56
浏览 50
已采纳

WAMP 2.2 Localhost调用未定义的函数curl_init()

I am using wamp 2.2 with php 5.3.13 and Apache 2.2.22 and I am getting this error on my localhost:

Call to undefined function curl_init()

I removed ; from extension=php_curl.dll My extension_dir = "c:/wamp/bin/php/php5.3.13/ext/" is correct I have restarted my wamp server and even download the php_curl.dll from the following URL http://www.anindya.com/php-5-4-3-and-php-5-3-13-x64-64-bit-for-windows/

and I am still getting this error...anyone got any ideas?

Thanks, J

  • 写回答

1条回答 默认 最新

  • duanmei1694 2013-08-23 20:58
    关注

    Make sure the php_curl extension is selected in your Wamp PHP extension options.

    Edit to make the answer clear: There are two php_curl.dll files to be found on the website linked to in the question: http://www.mediafire.com/file/0hm40owj08y68p7/php_curl-5.3.13-nts-VC9-x64.zip and http://www.mediafire.com/file/qwgdzgccthzwc15/php_curl-5.3.13-VC9-x64.zip

    Looks like only one of them worked for the OP.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥15 请问一下这个运行结果是怎么来的
  • ¥15 这个复选框什么作用?
  • ¥15 单通道放大电路的工作原理
  • ¥30 YOLO检测微调结果p为1
  • ¥20 求快手直播间榜单匿名采集ID用户名简单能学会的
  • ¥15 DS18B20内部ADC模数转换器
  • ¥15 做个有关计算的小程序
  • ¥15 MPI读取tif文件无法正常给各进程分配路径
  • ¥15 如何用MATLAB实现以下三个公式(有相互嵌套)
  • ¥30 关于#算法#的问题:运用EViews第九版本进行一系列计量经济学的时间数列数据回归分析预测问题 求各位帮我解答一下