Reputation: 30411
I just downloaded laravel.phar
and copied it to /bin with the proper permissions but upon running laravel.phar new test
I get the error
Crafting application...
[Guzzle\Common\Exception\RuntimeException]
The PHP cURL extension must be installed to use Guzzle.
I already have curl installed after previously running sudo apt-get install curl
. Am I still missing something?
EDIT: I installed lamp using sudo apt-get install lamp-server^
in case you needed to know.
Upvotes: 0
Views: 2376
Reputation: 31
I think the article will be useful to install laravel using laravel.phar file.
Upvotes: 0
Reputation: 71
You can install the cURL extension with:
sudo apt-get install php5-curl
Upvotes: 4
Reputation: 39355
You have to enable your curl extension. You can enable this from your php.ini
file. You have to uncomment it by removing the ;
before the extension=php_curl.dll
inside that ini file.
Upvotes: 0