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.

преди 6 години
1234567891011121314
  1. {% from "php/map.jinja" import php with context %}
  2. {% from "php/map.jinja" import php_version with context %}
  3. {% set major = php_version.split('.')|first %}
  4. LoadModule php{{ major }}_module /usr/local/libexec/{{ php.lookup.apache2.name }}/libphp{{ major }}.so
  5. DirectoryIndex index.html index.php
  6. <FilesMatch "\.php$">
  7. SetHandler application/x-httpd-php
  8. </FilesMatch>
  9. <FilesMatch "\.phps$">
  10. SetHandler application/x-httpd-php-source
  11. </FilesMatch>