# @todo check: templatize this, to make it work with any php version
# Redirect to local php-fpm if mod_php is not available
+<IfModule !mod_php8.c>
<IfModule !mod_php7.c>
<IfModule proxy_fcgi_module>
# Enable http authorization headers
</IfModule>
<FilesMatch ".+\.ph(ar|p|tml)$">
- SetHandler "proxy:unix:/run/php/php7.4-fpm.sock|fcgi://localhost"
+ SetHandler "proxy:unix:/run/php/php-fpm.sock|fcgi://localhost"
</FilesMatch>
<FilesMatch ".+\.phps$">
# Deny access to raw php sources by default
</FilesMatch>
</IfModule>
</IfModule>
+</IfModule>