Error 500 internal server error



I keep getting error 500 for several resources (PHP that deals with form, some images)

I deleted htaccess but didn’t work. Is this a problem of 000webhost or is it cause by my code. I developpe this code locally and it works perfectly.

Thanks for your help.


Hi @Jamesp

Add following code to your .htaccess

php_value display_errors 1


Set up wp-config.php file


Isn’t this file only for word press sites?


I solved the issue. I transfer my files using Winscp. Some times when I edit a file directly it looses its format and the error 500 arise.


Glad to hear it’s working! :slight_smile: