If you have ever come across an error on your website you will likely have been left scratching your head as to what the problem actually is? This is where PHP error messages can help so you know where the problem is located so you can look to fix it quickly.
To turn on PHP error messages on cPanel, follow these steps:
- Log in to your cPanel account and navigate to the Software section.
- Click on the Select PHP Version option.
- Click on the Options tab from the top menu.
- Enable display_errors by clicking the checkbox.
That’s it! From now on, if there is an error on your website, the reason for the error will be shown so you know where to look to fix the problem.