How can I enable cURL for an installed Ubuntu LAMP stack?
From Install Curl Extension for PHP in Ubuntu:
sudo apt-get install php5-curl
After installing libcurl, you should restart the web server with one of the following commands,
sudo /etc/init.d/apache2 restart
or
sudo service apache2 restart
How do I install the ext-curl extension with PHP 7?
Well I was able to install it by :
sudo apt-get install php-curl
on my system. This will install a dependency package, which depends on the default php version.
After that restart apache
sudo service apache2 restart
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
Related Topics
How to Search Array for Multiple Values in PHP
PHP Using Declare? What Is a Tick
How to Add Two Strings Together
Fatal Error: Call to Undefined Function Openssl_Random_Pseudo_Bytes()
Illegal Command Error Code 127 in PHP Exec Function
Opposite of Nl2Br? Is It Str_Replace
Why Can't I Access the Array with Index Directly
Parse Math Operations with PHP
Storing Time Information: Timezone Required
Populate Select Drop Down from a Database Table
PHP Include File in Webroot from File Outside Webroot
Printing Content of a Xml File Using Xml Dom
How to Enable Put Requests in Azure
Multi Checkbox Fields in Woocommerce Backend
Select MySQL Rows But Rows into Columns and Column into Rows