Andy, it sounds like you do not have apache configured correctly to handle php.  You might look at this…but ignore the “mod_php” part, you want to use php-fpm

 

How to Use Apache HTTPD With php-fpm and mod_php | Zend by Perforce

 

 

 

Tony

 

From: Andy Hartwell via observium <observium@lists.observium.org>
Sent: Wednesday, February 14, 2024 6:37 AM
To: observium@lists.observium.org
Cc: Andy Hartwell <ahartwell@charleskendall.com>
Subject: [Observium] Upgrading O/S of Observium Server - Debian 10 to 11 (or 12)

 

Advice please ! 😊

 

I have a server which has been running Observium well for some time.

 

Although upgrading the Observium build is easy enough following the instructions at Updating - Observium this obviously does not update the O/S itself.

 

I had a try at upgrading following online instructions yesterday but after he upgrade was complete the Observium web interface would not display – I just got a page of text which I assumed to be PHP script being displayed rather than “running”.

 

Does anyone have any idiot proof (ie aimed at Linux novice) guidance to upgrade the OS without breaking Observium ?

 

Luckily I had taken a snapshot of the VM so could roll back without any drama.

 

 

Thanks,

 

 

Andy Hartwell