502 Bad Gateway error Message


Hi I’m just uploaded my php website and it couldn’t run although I’ve already lower down my PHP version
Here’s my website : https://riversideprimary.000webhostapp.com/
Please give me advise :slight_smile:


Can you rename the .htaccess file to htaccess.txt?


Hi I realize that I’ve deleted the file instead. But right now I have it replaced already. It still couldn’t work though


Hi @behjiunn95

I changed your htaccess.txt to .htaccess but no luck. I’ll forward this to our developers :slightly_smiling_face:

However, It seems to be a error in the server, because all the URLs of yoursite returns 502


Changing our PHP version to 7.0 fixed your problem. Now create database and fix other PHP errors.

Happy webmastering!