2019-08-07 17:01:55 +02:00
|
|
|
{% from "php/map.jinja" import php with context %}
|
|
|
|
{% from "php/map.jinja" import php_version with context %}
|
|
|
|
{% set major = php_version.split('.')|first %}
|
2018-01-30 14:56:35 +01:00
|
|
|
|
|
|
|
LoadModule php{{ major }}_module /usr/local/libexec/{{ php.lookup.apache2.name }}/libphp{{ major }}.so
|
|
|
|
|
|
|
|
DirectoryIndex index.html index.php
|
|
|
|
|
|
|
|
<FilesMatch "\.php$">
|
|
|
|
SetHandler application/x-httpd-php
|
|
|
|
</FilesMatch>
|
|
|
|
<FilesMatch "\.phps$">
|
|
|
|
SetHandler application/x-httpd-php-source
|
|
|
|
</FilesMatch>
|