r/PHPhelp • u/Rayj002025 • Jun 03 '25
Troubleshooting PHP
So my web app has multiple PHP files. How can I monitor all PHP activity, specifically errors and any "echo" statements?
I've come across Xdebug, but my PHP has "Thread Safety" disabled:
php -i | grep "Thread Safety"
Thread Safety => disabled
4
Upvotes
View all comments
Show parent comment
2
u/colshrapnel Jun 03 '25
if you don't want sensitive information ending up in a log, mark it with #[\SensitiveParameter]