The curl_init() function is a PHP function.
To use the curl_init() function, you will need to modify your php.ini file.
find the following line:
;extension=php_curl.dll
and remove the comment:
extension=php_curl.dll
make sure to restart you web server after making this change, also check that the php_curl.dll file is in the PHP extensions directory.