Windows 10 How to get PHP errors ?


New Member
I have checked my PHP ini file (php.ini) and display_errors is set and also error reporting is E_ALL. I have restarted my Apache webserver. I have tried all things those are mentioned here ( show all php errors ). I have even put these lines at the top of my script, and it doesn't even catch simple parse errors. For example, I declare variables with a "$" and I don't close statements";". But all my scripts show a blank page on these errors, but I want to actually see the errors in my browser output.

PHP Code:
error_reporting(E_ALL); ini_set('display_errors', 1);

What is left to do?
If you are still not seeing the errors, it may be because your hosting provider is overriding the settings in your php.ini file. You can contact your hosting provider to check if there is any setting to override your own settings. If that is the case, you may need to ask them to make an exception for your website and enable display_errors. Also, see some additional information.