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.

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more