Home » Categories » Servers » Server Managment » cPanel/WHM

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
1.8 (5)
Article Rating (5 Votes)
Rate this article
  • Icon PDFExport to PDF