+ 1
502 error in html template
hi guys i have a html template and i want to change it to a php file like this (index.html to index.php) when i change it to php 502 error appear i need to use php code to connect to database
5 Answers
+ 1
Look at your server this error means something is wrong with your server
https://en.wikipedia.org/wiki/List_of_HTTP_status_codes
+ 1
Maybe a typo in your index.php file which makes this error
0
my server is fine i can connect to my database in another php file in my project
only my main page (indx.html) show this error
0
i'm new to php, html and css
my problem solved !
I did not define interpreter for php in phpstorm IDE đ
thank you nico for your response
0
No problem