summaryrefslogtreecommitdiff
path: root/user/php7/php-module.conf
blob: f29fc312576468377288f854ffc51a95826f6017 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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>