PHP致命错误:找不到类"HttpRequest"

PHP致命错误:找不到类

问题描述:

我想知道如何摆脱这个错误.我有一个在Windows Server上运行的PHP 5.3.

I was wondering how I can't get rid of this error. I have a PHP 5.3 running on a Windows Server.

在我的一个文件中,我需要执行HttpRequest.问题是我需要找不到的特定* .dll(pecl_http.dll).还有另一种方法可以做到这一点,还是有人将* .dll用于PHP 5.3?

In one of my file, I need to do a HttpRequest. The problem is that I need a specific *.dll (pecl_http.dll) that I can't find. Is there another way to do this, or has someone this *.dll for PHP 5.3 ?

感谢您的帮助

亚历山大(Alexandre)

Alexandre

如果您在此处查看列表: http://downloads. php.net/pierre/,您会看到php_http的4个版本.这4个版本都是非线程安全"和线程安全"(文件名显示"nts"或不显示)以及VC6或VC9的所有选项.

If you look down the list here: http://downloads.php.net/pierre/ you'll see 4 versions of php_http. The 4 versions are all options of 'non-thread-safe' and 'thread-safe' (filename shows 'nts' or nothing), and VC6 or VC9.

要查看您是否需要vc6或vc9,请加载phpinfo,然后查看顶部附近的编译器".再往下一点,如果启用此选项,您将看到线程安全",请选择不显示"nts"的线程.

To see if you need vc6 or vc9, load up phpinfo, and look at 'Compiler' near the top. A bit further down, you'll see 'Thread Safety' if this is enabled, go for the one that doesn't say 'nts'.