Error Call to undefined function App\Http\Controllers\curl_init() code example Example: Call to undefined function App\Http\Controllers\curl_init() sudo apt-get install php5-curl