Fatal error: Class 'HttpRequest' not found in [file directory]

We need the php to be able to handle Http functions but I don’t know how to install the extension. Could someone lead us in the right direction?
Thanks

You don’t actually want the HTTP extension. Trust me. It is not useful.

Use the curl extension to make HTTP requests.