It seems that PHP is not working at all on your installation.
It's just printing the PHP source.
You should re-install and follow the install guide exactly, or use the automated install script.
Generally using RHEL will give you pain that using something else won't, so we don't recommend RHEL at all.
adam.
On 2018-07-06 17:23, Dash Brousseau wrote:
______________________________Dash__I have a new os install for subscription of Observium on redhat 7
I can’t get the main page to work
Website loads but it’s all texts. Trying with php 7.0.But there
seems to be conflict between php 5.3 or difference between httpd24.
I dont know
In the error logs it doesn’t show anything wrong so I’m assuming
its php problem
In the browser I get this display all in text
“* @copyright (C) 2006-2013 Adam Armstrong, (C) 2013-2016 Observium
Limited * */ include("../includes/sql-config.inc.php");
include_once($config['html_dir'] . "/includes/functions.inc.php") ; //
Preflight checks if (!is_dir($config['rrd_dir'])) { print_error("RRD
Directory is missing ({$config['rrd_dir']}). Graphing may fail."); }
if (!is_dir($config['log_dir'])) { print_error("Log Directory is
missing ({$config['log_dir']}). Logging may fail."); } if
(!is_dir($config['temp_dir'])) { print_error("Temp Directory is
missing ({$config['temp_dir']}). Graphing may fail."); } if
(!is_writable($config['temp_dir'])) { print_error("Temp Directory is
not writable ({$config['tmp_dir']}). Graphing may fail."); } if
(ini_get('register_globals')) { $notifications[] = array('text' =>
'The PHP Option "register_globals" enabled in the php.ini. Please
disable it!', 'severity' => 'alert'); } //if
(!function_exists('hash_exists')) //{ // $alerts[] = array('text' =>
'The PHP `hash` module is missing This will cause editing and other
forms to fail. Please install it.', 'severity' => 'danger'); //} if
(version_compare(PHP_VERSION, OBS_MIN_PHP_VERSION, '<')) {
$notifications[] = array('text' => '
Your PHP version is too old.
Your currently installed PHP version ' . PHP_VERSION . ' is older than
the required minimum of ' . OBS_MIN_PHP_VERSION . '. Please upgrade
your version of PHP to prevent possible incompatibilities and security
problems.', 'severity' => 'danger'); } if
(isset($config['alerts']['suppress']) &&
$config['alerts']['suppress']) { $notifications[] = array('text' => '
All Alert Notifications Suppressed” etc etc.
But I follow the install guide at Observium website
I even create a ticket with redhat
I was directly here
https://access.redhat.com/solutions/2662201
When I use httpd24-httpd to start apache,he doesn’t even reference
/etc/httpd/conf.d/ where obersvium is.
So observirum page doesn’t even load however the main apache site
shows working php7.0
I will kill that and go back to this
systemctl enable httpd
systemctl start httpd
And now I’m back at the same situation.
When Observium loads just text
Anyone got Observium to work on rheal 7 with php 7.0
This message contains information which may be confidential and
privileged. Unless you are the intended addressee (or authorized to
receive for the intended addressee), you may not use, copy or disclose
to anyone the message or any information contained in the message. If
you have received the message in error, please advise the sender by
e-mail then delete the message immediately.
Francais: http://www.fundserv.com/fr/company/disclaimer [1]
Links:
------
[1] http://www.fundserv.com/francais/legal/disclaimer_email_ib. shtml
_______________________________________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiu m
_________________
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observiu m