Hello,
i have tested on my vps.
After update and previous version.
I got issue of webmail.
When i open webmail , ns1 , ns2
php code is not executing
i have tried
yum clean all
yum update -y
sh /script/cleanup
etc reboot
sh /script/sysinfo
A. Control Panel:
- Kloxo-MR: 7.0.0.b-2016052503
- Web: hiawatha-10.2.0-f.6.mr.el6.x86_64
- PHP: php54s-5.4.45-1.ius.el6 (fpm mode)
B. Plateform:
- OS: CentOS release 6.7 (Final) x86_64
- Hostname: XXXXXXXXXXXXXXXXXXXXXXXXXX
C. Services:
1. MySQL: MariaDB-server-10.0.25-1.el6.x86_64
2. PHP:
- Branch: php54-cli-5.4.45-1.ius.el6.x86_64
- Used: --Use PHP Branch--
3. Web Used: nginxproxy
- Hiawatha: --unused--
- Lighttpd: --uninstalled--
- Nginx: nginx-1.11.0-1.el6.ngx.x86_64
- Httpd: httpd-2.2.31-1.mr.el6.x86_64
- PHP Type: php-fpm_event
4. WebCache: none
- ATS: --uninstalled--
- Squid: --uninstalled--
- Varnish: --uninstalled--
5. Dns: bind
- Bind: bind-9.9.7-1.mr.el6.x86_64
- DJBDns: --uninstalled--
- NSD: --uninstalled--
- PowerDNS: --uninstalled--
- Yadifa: --uninstalled--
6. Mail: qmail-toaster-1.03-1.3.55.mr.el6.x86_64
- pop3/imap4: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
- spam: bogofilter
D. Memory:
total used free shared buffers cached
Mem: 1829 507 1322 0 23 235
-/+ buffers/cache: 248 1580
Swap: 0 0 0
E. Disk Space:
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 9.8G 2.3G 7.0G 25% /
<?php
ini_set("display_errors","1");
if (file_exists("./custom-index.php")) {
include_once "./custom-index.php";
} elseif (file_exists("./custom.index.php")) {
include_once "./custom.index.php";
} else {
if (file_exists("./custom-inc.php")) {
$incfile = "./custom-inc.php";
} elseif (file_exists("./custom.inc.php")) {
$incfile = "./custom.inc.php";
} else {
if (file_exists("./inc.php")) {
$incfile = "./inc.php";
}
}
if (file_exists("./custom-inc2.php")) {
$incfile2 = "./custom-inc2.php";
} elseif (file_exists("./custom.inc2.php")) {
$incfile = "./custom.inc2.php";
} else {
if (file_exists("./inc2.php")) {
$incfile2 = "./inc2.php";
}
}
if (file_exists("./images/user-logo.png")) {
$logo_url = "./images/user-logo.png";
} else {
$logo_url = "./images/logo.png";
}
?>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<?php
if(isset($incfile2)) { include_once $incfile2 ; }
if (isset($page)) {
$title = "Kloxo-MR {$page} page";
} else {
$title = "Kloxo-MR Page";
}
$bckgrnd = "\tbackground-image: url(./images/abstract.jpg);";
$path = "../theme/background";
// MR -- trick to make random background for login
if ((file_exists($path)) && (!file_exists("./.norandomimage"))) {
try {
$dirs = glob("{$path}/*", GLOB_MARK);
if ($dirs) {
$count = count($dirs);
$selnum = rand(0, ($count - 1));
$selimg = $dirs[$selnum];
$bckgrnd = "\tbackground-image: url({$selimg});\n".
"\tbackground-size: cover;\n".
"\tbackground-attachment: fixed;";
}
} catch (Exception $e) {
$bckgrnd = $bckgrnd;
}
}
?>
<title><?= $title; ?></title>
<style>
body {
font-family: Tahoma, Verdana, Arial, Helvertica, sans-serif;
font-size: 8pt;
font-weight: 100;
<?= $bckgrnd; ?>
background-color:#cccccc;
margin: 0;
}
a {
text-decoration: none;
}
img {
border: 0;
}
img.logo {
margin: 5px;
padding: 0;
}
table.header {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
font-family: Tahoma, Verdana, Arial, Helvertica, sans-serif;
font-size: 8pt;
font-weight: 100;
}
table.content {
border-collapse: collapse;
border-spacing: 0;
width: 100%;
/* height: 100%; */
font-family: Tahoma, Verdana, Arial, Helvertica, sans-serif;
font-size: 8pt;
font-weight: 100%;
}
table.content_body td {
border-collapse: collapse;
border: 1px dashed #cccccc;
font-family: Tahoma, Verdana, Arial, Helvertica, sans-serif;
font-size: 10pt;
color: #444444;
padding:10px;
spacing:0;
}
table.content_title td {
border-collapse: collapse;
border: 0;
font-family: Tahoma, Verdana, Arial, Helvertica, sans-serif;
font-size: 12pt;
color: #336699;
}
</style>
</head>
<body>
<table class="header">
<tr>
<td width="100%"><img style="margin:5px; padding:5px; height:50px" class="logo" src="<?php echo $logo_url; ?>" alt="hosting-logo"></td>
<td><a href="
http://mratwork.com/work/" title="Go to Kloxo-MR website"><img style="margin:5px; padding:5px; height:50px" class="logo" src="./images/kloxo-mr.png" alt="kloxo-mr-logo"></a></td>
</tr>
</table>
<table class="content">
<tr>
<td width="50"> </td>
<td valign="middle" width="100%"><?php include_once $incfile; ?></td>
<td width="50"> </td>
</tr>
</table>
</body>
</html>
<?php
}
?>