apache-formula/apache/files/FreeBSD/mod_php5.conf.jinja
2020-10-13 02:42:52 +02:00

11 lines
275 B
Django/Jinja

LoadModule php5_module /usr/local/libexec/{{ apache.service.name }}/libphp5.so
DirectoryIndex index.html index.php
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>