F5F Stay Refreshed Power Users Networks New user facing 500 error on the web site

New user facing 500 error on the web site

New user facing 500 error on the web site

C
CatFlag
Member
53
05-03-2023, 10:30 AM
#1
I'm just starting out with networking. My site keeps throwing a 500 error even though everything seems fine. I bought a VPS from OVH to run my website and got the IP address. I installed LAMP using PuTTY and everything worked well for a week. Then I got a .org domain and set up Cloudflare DNS for HTTPS. It was stable until recently. Now, when I try to log in via login.php, it shows the 500 error. I cleared all files from the htdocs folder and reuploaded them, but the problem persists. I restarted LAMP and the VPS, and I'm using XAMPP locally which works perfectly. The online site and local setup give different results. What's going on?
C
CatFlag
05-03-2023, 10:30 AM #1

I'm just starting out with networking. My site keeps throwing a 500 error even though everything seems fine. I bought a VPS from OVH to run my website and got the IP address. I installed LAMP using PuTTY and everything worked well for a week. Then I got a .org domain and set up Cloudflare DNS for HTTPS. It was stable until recently. Now, when I try to log in via login.php, it shows the 500 error. I cleared all files from the htdocs folder and reuploaded them, but the problem persists. I restarted LAMP and the VPS, and I'm using XAMPP locally which works perfectly. The online site and local setup give different results. What's going on?

D
DursunCrafting
Junior Member
5
05-07-2023, 11:51 PM
#2
According to my understanding, 500 errors typically occur on the server side. Are there any logs activated that could help identify the issues?
D
DursunCrafting
05-07-2023, 11:51 PM #2

According to my understanding, 500 errors typically occur on the server side. Are there any logs activated that could help identify the issues?

M
MetabolizmLT
Member
103
05-08-2023, 03:19 AM
#3
The issue was with the LAMPP version. Switching to an older PHP version resolved it. The error logs contained numerous PHP errors that needed fixing before upgrading to newer PHP versions in the future.
M
MetabolizmLT
05-08-2023, 03:19 AM #3

The issue was with the LAMPP version. Switching to an older PHP version resolved it. The error logs contained numerous PHP errors that needed fixing before upgrading to newer PHP versions in the future.