Home WebServer PanelDirectAdmin Enable cURL on DirectAdmin

Enable cURL on DirectAdmin

by Thạch Phạm
Published: Last Updated on

In this article, AZDIGI will show you how to enable cURL on DirectAdmin simply.

Có thể bạn sẽ thích

I. What is cURL?

cURL is a computer software project that provides libraries and command-line tools for transferring data using a variety of protocols; it was first released in 1997. It stands for “Client URL”. The original author, as well as the lead developer, is Swedish developer Daniel Stenberg.

cURL uses many support protocols such as HTTP, HTTPS, FTPS,…

Currently, most websites using WordPress source code use this tool to communicate with WordPress.org and many other websites on the internet.

By default, when we install DirectAdmin, DirectAdmin will not install cURL. Therefore, it is imperative that we actively activate it to use it. However, the way to enable it is quite simple, you just need to have SSH permissions with root to be able to do it.

II. Enable cURL on DirectAdmin

To enable cURL on DirectAdmin, we follow these 2 steps.

Step 1: SSH into your DirectAdmin system

To enable cURL on DirectAdmin, we first need to SSH or access your VPS/server with root privileges. If you don’t know how to SSH into your VPS/Server, you can refer to the following tutorial:

After successfully SSH, we continue with step 2 to execute cURL activation commands on DirectAdmin.

Step 2: Command to enable cURL on DirectAdmin

To enable cURL to DirectAdmin, we execute the following 4 commands:

AZDIGI Tutorial
cd /usr/local/directadmin/custombuild
./build set curl yes
./build update
./build curl

Explanation of the above commands:

  • Command 1: Move into custombuild folder.
  • Command 2: Declare to custombuild that we will use cURL.
  • Command 3: Update custombuild script.
  • Command 4: Enable cURL.

Below are the images in my cURL activation process:

Commands 1 and 2: Move into the custombuild directory and declare we will use cURL.
Command 3: Update the custombuild script, you can also see that when we update, custombuild also downloads the latest installation of the current cURL.
Screen Shot 2021 07 19 at 5.03.58 PM
Command 4: Install cURL complete.

Then you can check what version of cURL you have just installed with the following command:

AZDIGI Tutorial
curl -V

At the time I wrote this article, the cURL’s latest version was 7.77.0.

The version cURL is using is 7.77.0.

Later, if you want to upgrade the cURL version, you can refer to the following tutorial:

III. Summary

Hopefully, this article will help you to enable cURL on DirectAdmin successfully. From there, the Websites/Services on your server can operate/communicate with each other more effectively.

See more useful articles about DirectAdmin at the following link:

If you need assistance, you can contact support in the ways below:

Đánh giá

Tham gia nhóm hỗ trợ Server - Hosting

Tham gia nhóm Hỗ trợ Server - Hosting & WordPress để cùng nhau hỏi đáp và hỗ trợ các vấn đề về WordPress, tối ưu máy chủ/server.

Tham gia ngay

Bài viết cùng chuyên mục

AZDIGI – Không chỉ là đơn vị hàng đầu trong lĩnh vực Web Hosting và Máy chủ, chúng tôi mong muốn mang lại những kiến thức bổ ích nhất và luôn cập nhật thường xuyên cho cộng đồng người đam mê thiết kế website, công nghệ,…

Vui lòng không sao chép nội dung nếu chưa xin phép. Designed and Developed by PenciDesign