DEV Community

Mahbub Rabbani
Mahbub Rabbani

Posted on • Edited on

1

WordPress Error Log Not Showing with Laravel Herd

"Laravel Herd" writes logs to /Users/{user_name}/Library/Application Support/Herd/Log/php-fpm.log file.

You need to go to /Users/{user_name}/Library/Application Support/Herd/Config/fpm directory. There you will find files for different php versions. Example: [php_version]-fpm.config

Open each file and comment out
php_admin_value[error_log] = /Users/{user_name}/Library/Application
line by adding a semicolon ; in front of the line.

Example:

;php_admin_value[error_log] = /Users/{user_name}/Library/Application
Enter fullscreen mode Exit fullscreen mode

After that go to herd and stop all services and again start all services.

You should see your logs in wp-contents/debug.log file.

Source https://stackoverflow.com/a/77102145.

Top comments (0)

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay