Using Laravel, Guzzle complains that the PHP cURL extension isn't installed

The PHP cURL extension package needs to install. Run this command to install the package:

sudo apt-get install php5.6-curl

Then run:

laravel new myproject


PHP usually has two different configuration files. One is for running embedded inside the webserver. The other one is when called on the command line.

Make sure you look into the right phpinfo. Run php -i on the command line to see the installed extensions of that version, and also see where the configuration file is located to change the installed extensions.

Tags:

Php

Ubuntu

Curl