15 lines
467 B
Plaintext
15 lines
467 B
Plaintext
|
{% from "php/ng/map.jinja" import php with context %}
|
||
|
{% from "php/ng/map.jinja" import phpng_version with context %}
|
||
|
{% set major = phpng_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>
|