apache-formula/apache/files/FreeBSD/mod_php5.conf.jinja
Alexander Weidinger bc81c6ab43 FreeBSD: mod_proxy
2017-02-01 23:50:03 +01:00

13 lines
328 B
Django/Jinja

{% from "apache/map.jinja" import apache with context %}
LoadModule php5_module /usr/local/libexec/{{ apache.service }}/libphp5.so
DirectoryIndex index.html index.php
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>