I have php7
installed on ubuntu 14.04
I have problems with curl
I tried to run composer install
and it gives me error
Your requirements could not be resolved to an installable set of packages.
Problem 1
- stripe/stripe-php v2.3.0 requires ext-curl *
-> the requested PHP extension curl is missing from your system.
I also tried sudo apt-get install php-curl
. This gives me output:
E: Unable to locate package php-curl
Help
The procedure to install cURL on Ubuntu Linux is as follows: Update your Ubuntu box, run: sudo apt update && sudo apt upgrade. Next, install cURL, execute: sudo apt install curl. Verify install of curl on Ubuntu by running: curl --version.
The curl utility is a command line tool available on Unix, Linux, Mac OS X, Windows, and many other platforms. curl provides easy access to the HTTP protocol (among others) directly from the command line and is therefore an ideal way of interacting with CouchDB over the HTTP REST API.
Try using:
sudo apt-get install php7.0-curl
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With