502 Bad Gateway error Message


#1

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:
Thankiu!


#2

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


#3

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


#4

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


#5

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

Happy webmastering!