: If you must use PHP 7.4, ensure your XAMPP version is at least 7.4.14 (or ideally 7.4.33 ) to have all known security fixes for XAMPP itself. Perform all development work in an isolated, non-production environment with no internet exposure. Be extremely cautious about the code you run and the data you store in this environment.