Stephan Vierkant Stephan Vierkant - 2 years ago 570
PHP Question

Install ext-curl extension with PHP 7

I've installed PHP 7 using this repo, but when I try to run

composer install
, it's giving this error:

  • [package] requires ext-curl * -> the requested PHP extension curl is missing from your system.

With PHP 5, you can easily install it by running the
apt-get install php5-curl
command, but I can't find how to install the PHP 7 equivalent.

How do I install ext-curl for PHP 7?

Answer Source

Well I was able to install it by :

sudo apt-get install php-curl

on my system. I am running ubuntu 14.04 and I have php 7.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download