本日開発環境で cURL を使ったら以下のようなエラーが出ました。
Fatal error: Call to undefined function: curl_init() in
php5-curl をインストールする必要があるらしい。
1 2 | sudo apt-get install php5-curl sudo /etc/init.d/apache2 restart |
以下のサイトが大変参考になりました。
本日開発環境で cURL を使ったら以下のようなエラーが出ました。
Fatal error: Call to undefined function: curl_init() in
php5-curl をインストールする必要があるらしい。
1 2 | sudo apt-get install php5-curl sudo /etc/init.d/apache2 restart |
以下のサイトが大変参考になりました。
コメント