How to fix Uncaught Error: Call to undefined function curl_init()
Introduction
In this tutorial, we will fix the following error in the TestLink application. Fatal Error Call to undefined function curl_init()
Error:
The root cause of the error may be because the curl extension is not enabled in the PHP settings configuration file.
Fix
Steps to fix the problem are as follows:
Launch the PHP .ini file
Locate the curl extension. If its commented out remove the comments or add the extension to the file.
extension=curl
Save the setting file.
Stop/Start or Restart the Apache server on the machine.
Expected Result: The above problem would be resolved in the TestLink application.