<?php
/**
 * Health check endpoint — respuesta instantánea.
 * NO conecta a DB ni Redis (esas conexiones bloquean PHP-FPM y causan
 * healthcheck timeout → contenedor unhealthy → Traefik "no available server").
 */
header('Content-Type: application/json');
http_response_code(200);
echo json_encode(['status' => 'healthy', 'php' => PHP_VERSION, 'ts' => time()]);
