Skip to content

Commit

Permalink
Debug - clarify database engine
Browse files Browse the repository at this point in the history
  • Loading branch information
wrongecho committed Aug 25, 2024
1 parent 2202f31 commit 4cfa4c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions admin_debug.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ function get_crontab() {

//Get Server Info / Service versions
$phpVersion = phpversion();
$mysqlVersion = $mysqli->server_version;
$databaseInfo = mysqli_get_server_info($mysqli) . " / " . $mysqli->server_version;
$operatingSystem = php_uname();
$webServer = $_SERVER['SERVER_SOFTWARE'];
$errorLog = ini_get('error_log') ?: "Debian/Ubuntu default is usually /var/log/apache2/error.log";
Expand All @@ -204,7 +204,7 @@ function get_crontab() {

<?php
echo "PHP version: " . $phpVersion . "<br>";
echo "MySQL Version: " . $mysqlVersion . "<br>";
echo "Database Version: " . $databaseInfo . "<br>";
echo "Operating System: " . $operatingSystem . "<br>";
echo "Web Server: " . $webServer . "<br>";
echo "Apache/PHP Error Log: " . $errorLog
Expand Down

0 comments on commit 4cfa4c6

Please sign in to comment.