Laravel and error_log() path. PHP 7.2

Ask about general coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 3
Joined: Mon Dec 04, 2017 5:21 am

Fri Apr 27, 2018 7:45 am

I installed PHP and Laravel using Homebrew. Works fine and I can log using Laravel's

Code: Select all

Log::info('This is some useful information.');
which appears in app/storage/logs/laravel.log

However when I use PHP error_log(), I cannot find where the message is writtent to. php.ini file is not set to a path phpinfo(); shows it as blank. I've checkd the /usr/local/logs folders but nothing there

Does anyone know where the error_log() writes to? Is it going into null space?


Post Reply