Hm very interesting. I tried some comment in that thread:
php-fpm7.4 -F -c /etc/php/7.4/fpm/php-fpm.conf
[21-Jul-2023 17:11:11.861538] ERROR: pid 847526, fpm_stdio_open_error_log(), line 331: failed to open error_log (/var/www/logs/php-error.log): Permission denied (13)
[21-Jul-2023 17:11:11.861595] ERROR: pid 847526, fpm_conf_init_main(), line 1750: failed to post process the configuration
[21-Jul-2023 17:11:11.861610] ERROR: pid 847526, fpm_init(), line 72: FPM initialization failed