<?php
/**
 * Лабораторная работа №9-10
 * Скрипт: phpinfo()
 * Описание: Выводит полную информацию о настройках PHP на сервере
 */
?>
<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>PHPInfo - настройки PHP</title>
    <style>
        body {
            font-family: system-ui, -apple-system, sans-serif;
            margin: 20px;
            background: #f5f5f5;
        }
        .back-link {
            display: inline-block;
            margin-bottom: 20px;
            color: #667eea;
            text-decoration: none;
            font-weight: 500;
        }
        .back-link:hover {
            text-decoration: underline;
        }
        .info-container {
            background: white;
            border-radius: 16px;
            padding: 20px;
            box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        }
    </style>
</head>
<body>
    <a href="../index.html" class="back-link">← Назад к списку скриптов</a>
    <div class="info-container">
        <?php
            // Выводим информацию о PHP
            phpinfo();
        ?>
    </div>
</body>
</html>