
ショコラ
PHP なる速でデバッグ情報をファイルを保存したい
file_put_contents でキメマス。

もっさん先輩
file_put_contents('/tmp/debug.log',"{デバッグ内容}",FILE_APPEND|LOCK_EX);
tail 文の用意しておきますね。
tail -f /tmp/debug.log
PHP なる速でデバッグ情報をファイルを保存したい
file_put_contents でキメマス。
file_put_contents('/tmp/debug.log',"{デバッグ内容}",FILE_APPEND|LOCK_EX);
tail 文の用意しておきますね。
tail -f /tmp/debug.log