Error installing on debian 10

Could you have a look at the thread here: Using mod_php instead of PHP-FPM

In special this post to check, if you’re affected by the same issue: Using mod_php instead of PHP-FPM