douyangcheng4965 2014-09-01 21:56
浏览 128
已采纳

Http_get函数未定义

When I try to do http_get($url) I attain an error: "http_get is undefined". I know I should import or enable a certain module although after searching I found absolutely nothing on this and even PHP manual doesn't refer to anything.
Can someone help me out?

  • 写回答

1条回答 默认 最新

  • dongping1689 2014-09-01 22:04
    关注

    The following contains access to the DLL files needed to use PECL on Windows http://windows.php.net/downloads/pecl/releases/http/

    unzipp it and copy the file php_http.dll in your PHP extension folder. Edit the php.ini file (c:\WINDOWS\php.ini unless you moved it somewhere else) and activate it

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

报告相同问题?

悬赏问题

  • ¥50 内网的网页打开的Excel下载到本地
  • ¥15 该网站用的是什么程序模版
  • ¥15 verilog modelsim仿真
  • ¥15 Power BI 里面 帕累托图突出显示前20
  • ¥50 用预估矫正法,分数阶微分方程组传染病的最优控制代码怎么写
  • ¥15 画个数据流程图,手画也行
  • ¥60 AS自带模拟器AVD Root 和 Xposed安装
  • ¥30 哪位搞Android的编程师可以帮我远程一下,悬赏30元
  • ¥15 solidity部署上合约,可以mint,也继承接口了,在区块链也不显示代币名字
  • ¥15 讨论 博士论文交互项怎么讨论?