Google Analytics API class for PHPを使ってみました. レンタルサーバでは問題なく使えたんですが XAMPP liteで利用 したら「 Fatal error: Call to undefined function curl_ init( ) 」 が表示. This error indicates that the curl PHP extension is not installed. curl is a tool to transfer data from or to a server, using one of the supported. An easy solution on how to resolve fatal error: Call to undefined function curl_ init( ) for both Windows and Linux / Ubuntu. Any help would be appreciated. X: > php NightFan. php PHP Fatal error: Uncaught Error: Ca. Uncaught Error: Call to undefined function curl_ init( ). · curl_ init( ) has undefined. I came across this by accident and it took me very long to find out. curl_ exec will throw error.