Wednesday, October 26, 2011

Call to undefined function curl_init() in php

I got a Call to undefined function curl_init() error message when i testing one of my php scripts. So google and found this link

I just following what it say, open a terminal and key in the following code:


aptitude install php5-curl

then I press the enter key , so it start to install, upon completion i restart my apache server


/etc/init.d/apache2 restart

then I test it again, this time the error is gone.

Blue Ocean Accounting Software - Free for commercial and personal use


No comments: