LoadModule php7_module /usr/libexec/apache2/mod_php.so DirectoryIndex index.php index.html <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> # Uncomment the following to allow .phps files to be handled by the php source filter, # and displayed as syntax-highlighted source code #<FilesMatch "\.phps$"> # SetHandler application/x-httpd-php-source #</FilesMatch>