In this article, we will see require ext-curl * is missing from your system in ubuntu. When we set up the laravel 9 projects in the ubuntu system at that time this error is given. So, we will fix require ext-curl * -> it is missing from your system. Install or enable PHP's curl extension in ubuntu.
So, let's see require ext-curl * is missing from your system ubuntu, composer require ext-curl, composer install curl error, install curl extension php ubuntu, and requires ext-curl error php ubuntu.
When we set up the project using the composer it will show an error like the below image.
This error said to install the PHP-curl extension in your system for running the composer package. So, you can install the PHP-curl extension as per your PHP versions.
So, run the following command.
sudo apt-get install php-curl
Run the following command for PHP 8.2 version.
sudo apt-get install php8.2-curl
Run the following command for PHP 8.1 version.
sudo apt-get install php8.1-curl
Run the following command for PHP 7.4 version.
sudo apt-get install php7.4-curl
Run the following command for PHP 7.3 version.
sudo apt-get install php7.3-curl
Run the following command for PHP 7.2 version.
sudo apt-get install php7.2-curl
You might also like:
Today, I will show you Laravel 8 Toastr Notifications Example. There are many types of notifications availa...
Oct-19-2020
In this post i will share you information about paginate method example in laravel 8. As we know laravel provide many...
Jun-28-2021
In this article, we will see how to install Vue 3 in laravel 9 with vite. In the previous article, we will install...
Oct-10-2022
Many times we faced a Tokenmismatch error in laravel. This error occurs If you stay too long time on one form...
Jun-29-2020