Skip to content

Instantly share code, notes, and snippets.

@alpha1125
Created November 11, 2018 23:03
Show Gist options
  • Save alpha1125/b84c75f860a82c87cd857b9b0fdb73f0 to your computer and use it in GitHub Desktop.
Save alpha1125/b84c75f860a82c87cd857b9b0fdb73f0 to your computer and use it in GitHub Desktop.
composer problem...
--(1754:Sun,11 Nov 18:$ )-- composer update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested PHP extension ext-http * is missing from your system. Install or enable PHP's http extension.
@joriatyBen
Copy link

sudo apt install php-http

@rduldulao
Copy link

I solved it with this:

sudo apt install php-pecl-http

@ozzpy
Copy link

ozzpy commented Jan 11, 2020

I have this problem on a Cpanel server, in my local machine(ubuntu) I just install sudo apt install php-http ando solve it, but how to solve this on a cpanel instalation server?

@alpha1125
Copy link
Author

Sorry for the late response.

I have this problem on a Cpanel server, in my local machine(ubuntu) I just install sudo apt install php-http ando solve it, but how to solve this on a cpanel instalation server?

You should not need that on production (cpanel) servers. The requirement is for development environment. php-http is just a private server, mean for development, and is not production ready.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment