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

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?

图片转代码服务由CSDN问答提供 功能建议

当我尝试 http_get($ url)时出现错误:“< 代码> http_get未定义“。 我知道我应该导入或启用某个模块尽管搜索后我发现它什么也没有,甚至 PHP手册没有涉及任何内容。
有人帮帮我吗?

  • 写回答
  • 好问题 提建议
  • 关注问题
  • 收藏
  • 邀请回答

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
    
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题