0

I am getting the error of:

PHP Fatal error:  Call to undefined function curl_init() in /var/www/storium/includes/GCM.php on line 31

I have searched on the web and found this answer but the line is not listed in my php.ini, also I have tried installing php5-curl but nothing works. Any idea? I am using Ubuntu 12.04

Community
  • 1
  • 1
Fernando Santiago
  • 2,128
  • 10
  • 44
  • 75
  • 1
    Ubuntu doesn't use dlls... and if the curl extension isn't listed in your .ini file, then perhaps you should list it... of course, on ubuntu, you don't put extensions into the main php.ini, you put them into /etc/php.d – Marc B Mar 05 '14 at 02:47
  • How can i enable the curl_init() function? – Fernando Santiago Mar 05 '14 at 02:51
  • 2
    just install that function, in your answer you have the solution "sudo apt-get install php5-curl"... – kraysak Mar 05 '14 at 02:53

0 Answers0