Files
webgis-lohne/index.php
2026-04-14 16:35:49 +02:00

22 lines
657 B
PHP

<?php
/**
* WebGIS Connectivity Test
*/
echo "<h1>🌍 WebGIS Subdomain is Live!</h1>";
echo "<p><strong>Current Server:</strong> " . $_SERVER['SERVER_NAME'] . "</p>";
echo "<p><strong>PHP Version:</strong> " . phpversion() . "</p>";
// Check for common GIS extensions (optional but helpful)
$extensions = ['gd', 'intl', 'bcmath', 'pdo_pgsql'];
echo "<h3>GIS Extension Check:</h3><ul>";
foreach ($extensions as $ext) {
$status = extension_loaded($ext) ? "✅ Loaded" : "❌ Not Found";
echo "<li>$ext: $status</li>";
}
echo "</ul>";
echo "<hr>";
echo "<p>If you see this, your Nginx → PHP-FPM bridge is working perfectly over HTTPS.</p>";
?>