开发者

Class 'HttpResponse' not found

开发者 https://www.devze.com 2023-01-05 12:05 出处:网络
According to PHP documentation, HttpResponse is a static class to manipulate the Http response to the requester.

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

The code echo HttpResponse::getBufferSize();

throws the error in the Subject of this post.

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

Thanks!


From the docs:

This PECL extension is not bundled with PHP.

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

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

0

精彩评论

暂无评论...
验证码 换一张
取 消