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
Page isn't working ' http error 500'
Connection_failed
No more error messages shown
Wep site Beyaz Anasayfa hatası
Migration to new panel
500 internal server error on my site?
My website is not working what is i should do
CodeIgniter Version v4.0.4 - paginate() function return nothing in live environment (000WebHost)
Application Error Received on Homepage
I can't get on to my website it says
Registration on PHPBB not work
Failure to login to mywebsite
Everything is ok but the site does not open :(
Application error - check your logs... error? (NOT wordpress cache plugin)
Jessi1222 query
Probleme beim Wiederactivieren
Laravel Application error
HTTP error 500 in wordpress hosting
Unable to upload website (from file.manager)
Error 500 after adding htaccess file
Biswashshrestha.000webhostapp.com is currently unable to handle this request. HTTP ERROR 500
Website migration issue
Your page could not be displayed
Application Error appears when going onto site
Application Error appears when going onto site
I have uploaded my laravel project as I always do but this time I got this message!
Ghalibra.000webhostapp.com is currently unable to handle this request
Application error in my websitte
This page isn’t working HTTP ERROR 500
Php Website is showing blank pages
Internal server error 500
ERROR 500 laravel please help
Sreejith error question
Http 500 error but onlyon one script
Application Error on new site
Firemonkey php reporting errors
Maldito error 500
Error in accessing website
This page isn’t working Error[HTTP ERROR 500]
Function does not work file_get_content
Error code 500 on 000webhost site
No puedo acceder a mi sitio web
Phpinfo fails to show php status
"HTTP ERROR 500" on my site!
What linux version, apache, php, mysql are 000webhost using ¿?
How can i see php errors?
Plugin don´t works in my web site
Vickyfilm.000webhostapp.com 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"
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?
Blank page after installation
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 ns01.000webhost.com
Mgurupenguin 500
Appilcation error?
Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.4.0 and HTTP 500 error
Database down #9001
" http 500 error " when accesing the site
Http error 500 help please
Linktiks user script issue
500 on Laravel 7 project
Http 500 error Laravel. Please help
Stillbest 500 error
HTTP ERROR 500, Can someone help me with this error

Sometimes a bad .htaccess can cause 500 error - so please rename / delete any existing .htaccess file then create a new one with the code

php_value display_errors 1

:slight_smile: