OLS downloading php files, not executing them, HELP pls!

#1
Hello everyone,

Unfortunately, due to a server crash, I had to rebuild my Home Lab. On this environment I have been hosting a few websites free of charge for some acquaintances as a courtesy.

I have been using OpenLiteSpeed for a very long time, but since it required no attention after the initial configuration, I essentially did not touch it for years.

After the server crash, I was forced to install a new operating system (headless Ubuntu 25.10 Server). Unfortunately, I only had backups of the www directories and the MySQL databases.

Now that I have reinstalled OpenLiteSpeed and deployed LSPHP 8.5.2, nothing is working. Any non-static content fails: instead of executing PHP, the browser attempts to download the page.

Does anyone have an idea what could be causing this issue? I would be very grateful for any guidance or support.

Here are a few example URLs:
https://skynet.zone/phpinfo

https://phpmyadmin.skynet.zone
 

Attachments

Top