How to Install PHP Curl Extension in Ubuntu?
Hi Developer,
In this tutorial, we will go over the demonstration of how to install php curl extension in ubuntu. This post will give you a simple example of ubuntu php install curl extension. I’m going to show you about install php curl extension ubuntu 20.04. you will learn install php curl extension ubuntu.
We can install php curl extension using php-curl library. i will give you following list of commands to install php curl extension in ubuntu 22.10, ubuntu 22.04, ubuntu 21.10, ubuntu 21.04, ubuntu 20.04, ubuntu 18.04 and ubuntu 16.04 server.
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
- How to Find php.ini File in Ubuntu?
- How to Check Current PHP Version in Ubuntu?
- How to Check Apache Access & Error Log Files in Ubuntu Server?
- How to Whitelist/Allow IP Address in Apache Ubuntu?
- How to Restrict/Block IP Address in Apache Ubuntu?
- How to Install Apache PHP MySQL and Phpmyadmin on Ubuntu?
- How to Install MySQL in Ubuntu Server?
- How to Upgrade PHP Version from 7.4 to 8 in Ubuntu?
- How to Install Yarn npm in Ubuntu?
- How to Upgrade PHP Version from 7.2 to 7.3 in Ubuntu?
- How to Enable Apache mod_rewrite Module in Ubuntu?
- How to create quick apache virtual host in Ubuntu?
- How to Install Sublime Text Editor in Ubuntu?