File mod_php8.conf of Package php8
<IfModule mod_php.c> <FilesMatch "\.ph(p[34578]?|tml)$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.php[34578]?s$"> SetHandler application/x-httpd-php-source </FilesMatch> DirectoryIndex index.php4 DirectoryIndex index.php5 DirectoryIndex index.php7 DirectoryIndex index.php8 DirectoryIndex index.php </IfModule>