The CURL extension for PHP allows scripts to make external requests to a different site. The main reason that CURL needs to be enabled on PHP is that EasySocial allows link crawling capabilities. During the installation process, EasySocial would be able to retrieve the download and files directly from our site.
Installing CURL Library using YUM on Linux/OSX
It is very simple to install the CURL library on your site if you're using the Yellowdog Updater a.k.a YUM. You may install it by running the following in the terminal.
sudo yum install php-curl
sudo service httpd restart
Enabling CURL Library on Windows
There are a few steps to enable the CURL library on windows:
- You only need to edit the
php.inifile which is normally located inC:\Windows\System32\php.ini. The folder may differ and you can find out the loaded php.ini configuration file via the PHP Information in Joomla. - Search
extension=php_curl.dllwithin this file. - Uncomment it by removing the semi-colon (;) in front of it.
- Restart the apache server.
# In the file, locate the following codes
;extension=php_curl.dll
# Remove the preceding ; and the code should look like the below:
extension=php_curl.dll
If you are unsure how to do this, it's best to contact your hosting provider for clarification.