Add project files

This commit is contained in:
Frank Woeckener
2025-03-18 10:42:10 +01:00
parent e429c37f62
commit fe93319d2a
29 changed files with 816 additions and 4 deletions

View File

@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html lang="de">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PHP Docker Demo</title>
<style>
body { font-family: Arial, sans-serif; max-width: 800px; margin: 0 auto; padding: 20px; }
h1 { color: #0066cc; }
.info { background-color: #f0f0f0; padding: 15px; border-radius: 5px; }
</style>
</head>
<body>
<h1>PHP-FPM mit Nginx Docker Demo</h1>
<div class="info">
<p>PHP Version: <?php echo phpversion(); ?></p>
<p>Server Software: <?php echo $_SERVER['SERVER_SOFTWARE']; ?></p>
<p>Ausgeführt von: <?php echo exec('whoami'); ?></p>
<p>Zeitstempel: <?php echo date('Y-m-d H:i:s'); ?></p>
</div>
<h2>Extension Tests</h2>
<ul>
<li><a href="image-test.php">GD Image Test</a> (benötigt GD Extension)</li>
<li><a href="db-test.php">Datenbank-Test</a> (benötigt MySQL/MariaDB Verbindung)</li>
</ul>
<h3>Installierte PHP Extensions:</h3>
<ul>
<?php foreach(get_loaded_extensions() as $ext): ?>
<li><?php echo $ext; ?></li>
<?php endforeach; ?>
</ul>
</body>
</html>