duan1982453 2013-10-29 14:04
浏览 90
已采纳

类'httpRequest'找不到PHP 5.3窗口

I am trying to install http request class for PHP in windows.

I have downloaded a file here:

http://downloads.php.net/pierre/

php_http-5.3-nts-svn20091125-vc6-x86.zip

However, when I try to enable the extension by adding extension = php_http.dll to the php.ini, it does not show up in the phpinfo()

Has anyone had any success getting the httprequest class to work in windows.

This is what I am trying to do.

  $url = 'http://example.com/';
    //create the httprequest object

    $httpRequest_OBJ = new httpRequest($url, HTTP_METH_POST);
  • 写回答

3条回答 默认 最新

  • dongshou6788 2013-10-29 14:18
    关注

    This is for those using IIS 7.

    The trouble is, that not all of the dll for http request are compatible and therefore wont load. Fortunately I have found the correct one.

    This is the httprequest dll, that you need to install for httprequest to work:

    http://www.findthatzip-file.com/search-9898866-hZIP/winrar-winzip-download-php-http-5.3-nts-svn20091125-vc9-x86.zip.htm

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP