1 2 3 4 5 6 7 8 9 10 11 12 13
# Required modules: dir_module, php7_module <IfModule dir_module> <IfModule php7_module> DirectoryIndex index.php index.html <FilesMatch "\.php$"> SetHandler application/x-httpd-php </FilesMatch> <FilesMatch "\.phps$"> SetHandler application/x-httpd-php-source </FilesMatch> </IfModule> </IfModule>