HOW TO FIX WHMCS Error: Call to undefined function cURL_init()? [STEP BY STEP]☑️
Here in this WHMCS tutorial you will learn how to fix WHMCS ERROR: Call to undefined function curl_init(). Let us begin this tutorial by watching this video to learn how to fix this error in no time. Take care of every step so that you don’t miss anything.
So now let me tell you that this error indicates your PHP configuration is missing the ‘cURL’ extension. So in order to fix this you need to enable cURL function in any of PHP version.
This issue can be fixed via Reseller or Root level. We have covered the process to resolve this issue from both end. Let’s find how:
If you are a Reseller then perform the following action:
Step::1 Login to your cPanel
Step::2 Go to File Manager section
Step::3 Go inside Public_html and create a new file named test.php
Step::4 Edit this file and write a short script so that you can check which php functions are enabled.
You can copy the code from this link Step::5 Save the file and run it from new window to check if curl function is enabled or not.
Step::6 If it is disabled go to MultiPHP Manager and resolve this issue by changing the different php version because it may be possible that your hosting provider might have enabled cURL function in some or the other PHP versions.
If still the problem continues then the ultimate solution is to call your Hosting provider for further support.
Now if you are having root access then it is quite easy to resolve this issue. You just need to perform few steps mentioned below:
Step::1 Login to your WHM Root
Step::2 Go to Software section
Step::3 Click on Easy Apache 4
Step::4 Click on Customize button
Step::4 Now go to PHP Extensions and search for cURL function
Step::5 Enable cURL function for all PHP version
This will definitely resolve the problem.
Follow the methods mentioned in this tutorial to easily fix WHMCS Error: Call to undefined function cURL.
If you enjoyed this tutorial, please consider following us on Facebook and Twitter.