Composer Install Error Require ext-curl missing - Solved
A few days ago, I was working on my laravel 9 application. I just set up a project on the server. then I was trying to composer installed and I found the following error.
"require ext-curl - it is missing in the system ..." in the terminal.
I google it and find we need to install php-curlextensions for composer install error require ext-curl missing. so let's see the below solution.
Solution:
You need to run both command one by one:
sudo apt-get install php-curl
Solution for PHP 8.2
You need to run both command one by one:
sudo apt-get install php8.2-curl
Solution for PHP 8.1
You need to run both command one by one:
sudo apt-get install php8.1-curl
Solution for PHP 8.0
You need to run both command one by one:
sudo apt-get install php8.0-curl
Solution for PHP 7.4
You need to run both command one by one:
sudo apt-get install php7.4-curl
Solution for PHP 7.3
You need to run both command one by one:
sudo apt-get install php7.3-curl
Solution for PHP 7.2
You need to run both command one by one:
sudo apt-get install php7.2-curl
I hope it can help you...
Hardik Savani
I'm a full-stack developer, entrepreneur and owner of ItSolutionstuff.com. I live in India and I love to write tutorials and tips that can help to other artisan. I am a big fan of PHP, Laravel, Angular, Vue, Node, Javascript, JQuery, Codeigniter and Bootstrap from the early stage. I believe in Hardworking and Consistency.
We are Recommending you
- Laravel Get Min Value of Column Example
- Laravel Get Max Value of Column Example
- Laravel E-Signature using Docusign API Tutorial
- Laravel JQuery Ajax Loading Spinner Example
- Composer Install with Ignore Cache Example
- How to Install Composer in Ubuntu Server?
- How to Remove Composer Package in Laravel?
- Laravel Http Curl Post Request with Headers Example
- PHP Curl Request with Username and Password Example
- PHP Curl POST Request with Headers Example
- PHP Curl Get Request with Parameters Example
- How to Install Composer using Command Line in Ubuntu?
- How to Add Pagination with Union in Laravel?