PHP-7.2 CURL Install on Ubuntu 18.04: CURL is a Linux Termianl command mainly used to transfer the data from one server to another server. This CURL Command is an useful Terminal command line utility and mainly used to download and upload from to the server. In this tutorial, We added 20+ best examples to use the CURL command effectively in Linux.
The CURL supports various protocols such as “IMAP, IMAPS, LDAP, LDAPS, POP3, POP3S, RTMP, RTSP, SCP, SFTP, SMB, SMBS, DICT, FILE, FTP, FTPS, GOPHER, HTTP, HTTPS, SMTP, SMTPS, TELNET, and TFTP”.
- Install CURL- Conventional Method
- Install CURL on PHP-7.2
- Restart Apache Server
- Restart Nginx Server
Install CURL on Ubuntu Server:
The above command is the conventional method to install the CURL application in Ubuntu server. Just copy the above command and paste in Ubuntu Terminal, then hit the “Enter” button. If the above command won’t install CURL and then follow the below steps to install the CURL application after updating Ubuntu 18.04.
Install CURL on PHP-7.2 After Updating Ubuntu 18.04:
The above command will install the PHP libraries for your Server.
Now, update the server using the above command
The above command will help you install CURL on PHP-7.2 after updating Ubuntu 18.04. The above command will enable CURL on Ubuntu 19.04 Disco Dingo editions too.
Restart Apache Server:
After enabling the CURL on Ubuntu 18.04 PHP-7.2 Server. You just need to restart your Apache Server.
You can use the above or below command to restart your Apache Server.
Restart Nginx Server:
If you are using the Nginx server, then you need to restart your Nginx server after installing CURL with PHP-7.2 on Ubuntu 18.04 Server.
You can use the above or below command to restart your Nginx Server.
In this article, we added the information about install and enable the CURL with PHP-7.2 after updating on Ubuntu 18.04. If you have any queries or need an update in this article and then feel free to comment or contact us.
- Command Working
- Article Explanation
- Solution Attained
For more articles, please visit our Homepage