apache-formula/apache/files/FreeBSD/mod_php5.conf.jinja

13 lines
328 B
Plaintext
Raw Normal View History

2017-01-08 12:03:48 +01:00
{% from "apache/map.jinja" import apache with context %}
LoadModule php5_module /usr/local/libexec/{{ apache.service }}/libphp5.so
2016-09-27 02:16:21 +02:00
DirectoryIndex index.html index.php
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>