I.T. Mate Knowledge Base - KBID# 32
Fatal error: Call to undefined function curl_version() (KBID# 32)
You receive "Fatal error: Call to undefined function curl_version()" when running a PHP application that requires cURL
This error occurs when cURL is not installed or not enabled.
Check cURL (php_curl.dll) is installed and enabled in php.ini.
Checking php_curl.dll exists
Open your PHP extensions directory (usually C:\PHP\ext) and locate php_curl.dll
This file is usually included in the latest PHP installation file from php.net
Checking cURL is enabled
To do this, open php.ini and locate the following line;
If it begins with a semi colon (;), remove the semi colon, save the file, then re-start your server.
Alternatively, if you are using the Spambot Search Tool, and are sure file_get_contents is available, please refer to the link listed under the references.
The information in this article applies to:
Published: 17/03/2009 22:43:31
- Spambot Search Tool
Print this document
E-mail this document