Websites all stopped working after Virtualmin upgrade

3 posts / 0 new
Last post
#1 Tue, 02/21/2017 - 21:49
mfive

Websites all stopped working after Virtualmin upgrade

Well, I didn't think updating Virtualmin could take down my sites, but I proved myself wrong :-(

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?

Tue, 02/21/2017 - 23:09
Diabolico
Diabolico's picture

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
. . .
</Directory>
...
</VirtualHost>

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.

- I often come to the conclusion that my brain has too many tabs open. -
Failing at desktop publishing & graphic design since 1994.

Thu, 02/23/2017 - 06:20
unborn
unborn's picture

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.

Configuring/troubleshooting Debian servers is always great fun

Contact me directly ? GPG/PGP supported!