<?php
if (function_exists('exec')) {
    echo "<h3>✅ exec() is ENABLED on this server</h3>";
    $output = [];
    exec('whoami', $output);
    echo "<pre>";
    print_r($output);
    echo "</pre>";
} else {
    echo "<h3>❌ exec() is DISABLED on this server</h3>";
}
?>

