How to enable error reporting in php

This tutorial is for those who get Internal Server Error. So your website is not working and you are struggling to find out why. You see Error 500 and do not know what to do next. If you try googling error 500 this will not give you answer you want. The error is too generic and does not tell you exact problem. What you need is to find out what is the real issue.

On 000webhost all errors PHP errors are hidden by default.

To enable displaying PHP errors

  1. Open your website with file manager
  2. Go to public_html directory
  3. Create .htaccess file (if it does not exist already)
  4. add this line: php_value display_errors 1
  5. save file

Now when your website has a problem you will see exactly what the problem is and may google for it.

Remember to remove the line when the problem is solved.

Is currently unable to handle this request. HTTP ERROR 500
What does ERROR 500 mean?
Who can help me with this Internal Server Error?
Internal Server Error on my website
Can't retrieve data from DB
No more error messages shown
Migration to new panel
500 internal server error on my site?
Habilitar htaccess
Application error 500 - unable to launch website
HTTP ERROR 500 after installing php script
Error 500 after website upload
Website error cannot open site
Cannot Access websiteku
500 description title
Descriptive 500 title
Cannot install opencart shows error 500
Deloy laravel 5.8 to 000webhost
Indexhibit http error 500
Website 500 Application Error and can't access the FTP
HTTP ERROR 500 grandlinehd
HTTP ERROR 500 site
Error accessing config table
Нет доступа к сайту
Error 500 help me please
Application error 500 in my website
Internal Server Error during deployment
Website not working due to Application error
Shopware application error
Where do I see server error log?
What linux version, apache, php, mysql are 000webhost using ¿?
Why does my site display error 500?
Jan 29- Since morning, my website shows HTTP error 500
Error Code 500 + Unable to login to File Manager
Where is my error log hosting?
Как исправить эту ошибку?
I cant send tweet from my web site
Config file error while uploading the moodle files in 000webhost
IPV4 of
Blank page after installation
How can i see php errors?
Plugin don´t works in my web site is currently unable to handle this request
Aplication error al cargar web
Laravel Error 500
Amteamindia 500
Folder Logs Files
This page isn’t working "HTTP ERROR 500"