What is curl
CURL is a library introduced by Daniel Stenberg, it supports to connect and communicate to different types of servers and protocols. CURL supports the HTTP, https, FTP, telnet and LDAP protocols. CURL also supports HTTPS certificates to secure the password authentication.
How to Check CURL extension enabled or not in servers
Mostly all the web hosting providers have enabled the CURL extension on servers. the user checks the CURL extension enabled or not with help of php coding, follow the below steps to check the CURL extension enabled or not.
Step 1: Create a phpinfo.php file in your account.
Step 2: Add the below code in the file and run the file on your browser. You can see the list installed modules.
// Show all information, defaults to INFO_ALL
How to enable CURL via the php.ini file
Follow the below steps to enable the CURL via php.ini.
Step 1: Login into cPanel with valid credentials.
We hope that this tutorial will help you to How to enable the CURL for the website via php.ini File Using cPanel. For more information, follow us on Facebook and Twitter. For video tutorials, subscribe to our YouTube channel “ServerCake India”.