Install cURL in php 7 (ubuntu14.04)

I have installed php7 on ubuntu 14.04

I have problems with curling. I tried to start the installation of the composer, and this gives me an error. Your requirements cannot be resolved for the installed set of packages.

Problem 1 - stripe / stripe-php v2.3.0 requires ext-curl * → the requested PHP extension curl is missing on your system.

I also tried sudo apt-get install php-curl. This gives me the result:

E: unable to find php-curl package

reference

+5
source share
3 answers

Try using:

sudo apt-get install php7.0-curl 
+15
source

Installing php 7 curl in kali linux If you installed your php7 manually, open a terminal and just type "sudo apt-get install php-curl" without quotes, and you're done.

I had the same problem when installing a payment system, but this solved my problem.

0
source

Follow these steps:

  • Install cURL:

sudo apt-get install php-curl OR sudo apt-get install php7.0-curl

  1. Include the cURL extension in the php.ini . ;extension=php_curl.dll uncomment this.

Everything is done, Hello!

0
source

All Articles