How to Install cURL and PHP cURL on a cPanel Server (EasyApache 4)
cURL comes in two parts. The curl command is part of the operating system: install or update it with dnf install curl and check it with curl --version. PHP's cURL extension, which WordPress, WHMCS and most payment plugins need, is installed per PHP version in WHM > EasyApache 4 (package ea-phpXX-php-curl). Check it with php -m | grep -i curl.