apache: Handle transition to php 7.4
Directory /etc/php/7.4 became available before php7.4-fpm became available. Handle this by checking the run time socket of the fpm daemon instead of the directory.
Discussed and tested in https://discuss.freedombox.org/t/mediawiki-service-unavailable/711/23
Signed-off-by: Sunil Mohan Adapa sunil@medhas.org
We still need to test this with Debian stable. I could use some help here as I don't have a stable setup around to test.