Where is the PHP Error Log

How do you see the PHP error log on glitch? It’s not showing up under Tools->Logs

What kind of PHP project are you using? Are you using the development server or lamp-poc?

If you are using the dev server, they should just appear under tools-logs.

If you are on lamp-poc, open the project’s terminal and run tail -f ~/.apache2/log/error.log.

1 Like

I’m on lamp-poc, thanks!

1 Like

It only worked if I took off the preceding slash tho

Thanks for noting that, I made an edit to my post.