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 Python时间序列如何拟合疏系数模型
  • ¥15 求学软件的前人们指明方向🥺
  • ¥50 如何增强飞上天的树莓派的热点信号强度,以使得笔记本可以在地面实现远程桌面连接
  • ¥15 MCNP里如何定义多个源?
  • ¥20 双层网络上信息-疾病传播
  • ¥50 paddlepaddle pinn
  • ¥20 idea运行测试代码报错问题
  • ¥15 网络监控:网络故障告警通知
  • ¥15 django项目运行报编码错误
  • ¥15 STM32驱动继电器