Require ext-curl is missing from your system ubuntu

Websolutionstuff | Feb-16-2023 | Categories : Laravel PHP

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.

composer-ext-curl-missing

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.

Fixed: require ext-curl * is missing from your system ubuntu

So, run the following command.

sudo apt-get install php-curl

 

Require ext-curl for PHP 8.2

Run the following command for PHP 8.2 version.

sudo apt-get install php8.2-curl

 

Require ext-curl for PHP 8.1

Run the following command for PHP 8.1 version.

sudo apt-get install php8.1-curl

 

Require ext-curl for PHP 7.4

Run the following command for PHP 7.4 version.

sudo apt-get install php7.4-curl

 

Require ext-curl for PHP 7.3

Run the following command for PHP 7.3 version.

sudo apt-get install php7.3-curl

 

Require ext-curl for PHP 7.2

Run the following command for PHP 7.2 version.

sudo apt-get install php7.2-curl

 


You might also like:

Recommended Post
Featured Post
How to Convert PDF to Image in Laravel 10
How to Convert PDF to Image in...

Greetings, Laravel enthusiasts! Today, let's unravel a common challenge in web development – converting PDFs t...

Read More

Dec-22-2023

Laravel 9 One To Many Polymorphic Relationship
Laravel 9 One To Many Polymorp...

In this article, we will see laravel 9 one to many polymorphic relationship. A one-to-many polymorphic relation is...

Read More

Apr-05-2022

Autotab To Next Input Field JQuery
Autotab To Next Input Field JQ...

In this article, we will see how to focus on the next input when the max length is reached. Sometimes we have...

Read More

Aug-19-2020

Laravel 9 Livewire CRUD Operation
Laravel 9 Livewire CRUD Operat...

In this article, we will see the laravel 9 livewire crud operation. we will learn about livewire crud operation in larav...

Read More

Nov-24-2022