8e79a3595c
- Implementation of libtofs on ini macro, pools_config and apache2 mod_php.conf + Introduction of tplroot on modified files + `{%-` consistency when possible
15 lines
457 B
Django/Jinja
15 lines
457 B
Django/Jinja
{% from "php/map.jinja" import php with context %}
|
|
{% from "php/map.jinja" import php_version with context %}
|
|
{% set major = php_version.split('.')|first %}
|
|
|
|
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>
|