<?php
echo '<h1>Database Test</h1>';
try {
$pdo = new PDO('mysql:host=localhost');
var_dump($pdo->query('show databases')->fetchAll());
} catch (Exception $e) {
echo '<pre>' . $e . '</pre>';
}
echo '<h1>PHP Info</h1>';
phpinfo();