本文介绍了找不到“HttpResponse”类的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据PHP文档,HttpResponse是一个静态类来操纵对请求者的Http响应。

According to PHP documentation, HttpResponse is a static class to manipulate the Http response to the requester.

代码 echo HttpResponse :: getBufferSize ();

在此帖子的主题中引发错误。

throws the error in the Subject of this post.

有任何想法吗?也许这是一些配置,但我是一个PHP新手,我不知道在哪里看。

Any ideas? Maybe it's some config, but I am a PHP newbie and I'm not sure where to look.

谢谢!

推荐答案

从:

您需要通过PECL 。要了解如何安装PECL,请参阅(再次)。

You need to install it via PECL http://pecl.php.net/package/pecl_http. To see how to install PECL, see (again) the docs.

如果您还没有听说过PECL,请阅读页面!

If you haven't heard of PECL, read the Wikipedia page!

这篇关于找不到“HttpResponse”类的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-26 14:41
查看更多