Saltstack Official PHP Formula
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- {% 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>
|