<?php
echo "<h2>Enabled Database Drivers:</h2><ul>";

$drivers = [
    'PDO' => class_exists('PDO'),
    'PDO_MySQL' => extension_loaded('pdo_mysql'),
    'MySQLi' => function_exists('mysqli_connect'),
    'SQLite3' => class_exists('SQLite3'),
    'PostgreSQL' => function_exists('pg_connect'),
    'ODBC' => function_exists('odbc_connect')
];

foreach ($drivers as $driver => $enabled) {
    echo "<li><strong>$driver:</strong> " . ($enabled ? "<span style='color:green;'>ENABLED</span>" : "<span style='color:red;'>DISABLED</span>") . "</li>";
}
echo "</ul>";

echo "<h2>All Loaded Extensions:</h2><pre>";
print_r(get_loaded_extensions());
echo "</pre>";
?>