Page 1 of 1

What happened to HttpRequest Class

PostPosted: 01. August 2013 22:15
by carbar
Hi,

I have a program that used to run well before upgrading to xampp 1.8.1.
Now I get the Fatal error : Class HttpRequest not found in c:\xampp\...

My OS is Win7. Is there any package I should install?

Thanks for your help

Re: What happened to HttpRequest Class

PostPosted: 02. August 2013 06:08
by Altrea
Hi carburetor,

Next time you report an error please provide us the full unchanged error message including the full path.

Class HttpRequest is part of the pecl http package which isn't included in php by default.
http://de2.php.net/manual/en/http.install.php

So you need to compile it against your specific php version or find a precompiled one if you are lucky.

Best wishes,
Altrea

Re: What happened to HttpRequest Class

PostPosted: 03. August 2013 09:36
by carbar
How do I compile pecl. Can you be more specific?

Re: What happened to HttpRequest Class

PostPosted: 03. August 2013 10:42
by Altrea
We don't provide any "how to compile module/class xyz for XAMPP" instructions because that topic is pretty much sophisticated.
Maybe this thread will help to get a short insight viewtopic.php?f=16&t=53348&p=204590

Re: What happened to HttpRequest Class

PostPosted: 05. August 2013 08:58
by carbar
Thanks Altrea,

I guess I'd just better install an older version of xampp.
I appreciate your help :)

Re: What happened to HttpRequest Class

PostPosted: 05. August 2013 15:19
by Altrea
Yeah, I think that would be the easiest and best solution :)

You are welcome.
Have fun with XAMPP and all that fancy stuff 8)