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:
- Log into your server as root via SSH
- Run the following command:
/scripts/easyapache
- Select ‘Start customizing based on profile’, with ‘Previously Saved Config’ checked
- Select the version of Apache you would like to run
- 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!
- Select ‘Exhaustive Options List’
- Scroll down to the ‘PHP Configuration’ section and select ‘cURL’ (you can also enable cURL-SSL)
- Select ‘Save and Build’
- Wait for the compilation to finish – this usually takes 15-20 minutes
- PHP will now be recompiled with cURL support included