How do I see PHP errors on my site?

Quick answerBeginnerUpdated

Short answer

Read the PHP error log rather than turning error display on for visitors. In DirectAdmin the logs are under System Info & Files then Site Summary / Statistics / Logs, and the most recent entries at the end of the file are the ones that matter.

Learn more

Step-by-step

Everything in this guide works on Traxio’s PHP hosting, which is free for 30 days and £0.99 a month after that.

All PHP questions · All questions and answers

Popular

Tip: press / to search from any pageSee all results