I have a problem with hosting and the hosting company does not want to help me with this. I want to show PHP errors for developing but when there is an error on the page I only see a blank page. I can't use .htaccess
because the server API is CGI/FastCGI and php.ini
does not work. I tried this in php.ini
but it doesn't work, still a blank page, and I made an error in PHP on purpose.
display_errors = On
display_startup_errors = On
On the page I also have:
error_reporting(E_ALL);
EDIT: Solved by mario, I renamed php.ini
to .user.ini
and it worked.