wip travis
[plcapi.git] / tests / ci / config / apache_phpfpm_proxyfccgi
index bac168d..8bed636 100644 (file)
@@ -1,6 +1,7 @@
 # @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
@@ -9,7 +10,7 @@
     </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
@@ -23,3 +24,4 @@
     </FilesMatch>
 </IfModule>
 </IfModule>
+</IfModule>