hello world index.php
This commit is contained in:
21
index.php
Normal file
21
index.php
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
<?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>";
|
||||||
|
?>
|
||||||
Reference in New Issue
Block a user