Websites all stopped working after Virtualmin upgrade

Well, I didn’t think updating Virtualmin could take down my sites, but I proved myself wrong :frowning:

I did an upgrade to 5.05 and now when I visit my site it just downloads the php file instead of running the php code and displaying the site. I’m really not sure where to begin troubleshooting - everything was fine before the update and now none of my domains are working.

Any suggestions?

Last Virtualmin version is 5.06 and not 5.05 and the error you see is because something is wrong with your Apache configuration. Virtualmin update didnt change your Apache so the problem must be somewhere else.

Check your Apache config file if you have:
<VirtualHost *:80>
. . .
<Directory /home/USERNAME/public_html>
. . .
AddType application/x-httpd-php .php
AddHandler fcgid-script .php
AddHandler fcgid-script .php5
FCGIWrapper /home/USERNAME/fcgi-bin/php5.fcgi .php
FCGIWrapper /home/USERNAME/fcgi-bin/php5.fcgi .php5
. . .

and same for <VirtualHost *:443>.

Either way someone intentionally or not modified your Apache. This could be you with last update but i dont know how, because if there was some changes in configuration files the new one would be saved as *.rpmnew. Like i said Virtualmin doesnt have anything to do with your problem.

Hi, sorry to hear that, I’ve done update 24 hours ago and all its working…if you dont mind what distro you running your server on? …just asking, I am debian.