The "official" recommended is PHP 8.2 and MySQL 8.1/MariaDB 11.1.0 - but of course over time these will probably increase - for example at the time of writing this PHP 8.3.2 is the latest PHP version available, and PHP 8.2 series will only be in "active support" for another 10 months, and will become end of life on 8th December 2025 see https://www.php.net/supported-versions for full PHP details.