🔍
【disable_functions】Call to undefined function curl_exec
エラー
FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to undefined function curl_exec()
課題
cURLは基本的にインストールせずとも入っていることがおおく、とくにcurl_init()ではなく、curl_exec()の終わり際にエラーが出ていて困っていた。phpinfo()で確認してもcURL自体は有効化されている。
対処
採用されているphp.ini系のファイルで、コアディレクティブであるdisable_functionsのなかに、curl_execが入っていたので、削除した。
Discussion