Table of Contents
Print

Q0018 – PHP Fatal error/ Uncaught Error: Call to undefined function curl_init()

Summary:

If you experience the server error: “PHP Fatal error/ Uncaught Error: Call to undefined function curl_init()
which is visible in the PHP error log, the problem can be that the component is not activated.

Step 1

Log on to the server and review the PHP error log.
Identify the specific PHP error – continue if the error is the same as shown below.
If this is the case continue to follow this guide as the error occurs due to not being able to access/execute the curl component.

Solution

(This is a requirement for the curl.dll to work properly)

Step 1

Copy the file found in:
D:\ComplianceNow\PHP\libssh2.dll

Step 2

Inset file in:
D:\ComplianceNow\Apache24\bin\

Step 3

Restart the Apache service

The missing access should now be valid, and no errors should occur.

Do you need our help to resolve your challenge?
Please feel free to get in touch with us.

CN Support Email
CN Support number