How do I add cURL support for my cPanel server?


cURL is a command-line tool for getting or sending files using the URL syntax, such as HTTP, FTP, and POP.

To add cURL support into the PHP install on your server:

  1. Log into your server as root via SSH
  2. Run the following command:

/scripts/easyapache

  1. Select ‘Start customizing based on profile’, with ‘Previously Saved Config’ checked
  2. Select the version of Apache you would like to run
  3. Select the brand and version of PHP you would like to run – it is not recommended to run both PHP4 and PHP5 on the same server!
  4. Select ‘Exhaustive Options List’
  5. Scroll down to the ‘PHP Configuration’ section and select ‘cURL’ (you can also enable cURL-SSL)
  6. Select ‘Save and Build’
  7. Wait for the compilation to finish – this usually takes 15-20 minutes
  8. PHP will now be recompiled with cURL support included


Article ID: 33
Created On: Tue, Mar 3, 2015 at 3:28 PM
Last Updated On: Wed, Aug 18, 2021 at 12:58 PM

Online URL: https://www.heartinternet.uk/support/article/how-do-i-add-curl-support-for-my-cpanel-server.html