Blame SOURCES/php.conf

a53bc2
#
a53bc2
# The following lines prevent .user.ini files from being viewed by Web clients.
a53bc2
#
a53bc2
<Files ".user.ini">
a53bc2
    <IfModule mod_authz_core.c>
a53bc2
        Require all denied
a53bc2
    </IfModule>
a53bc2
    <IfModule !mod_authz_core.c>
a53bc2
        Order allow,deny
a53bc2
        Deny from all
a53bc2
        Satisfy All
a53bc2
    </IfModule>
a53bc2
</Files>
a53bc2
a53bc2
#
a53bc2
# Allow php to handle Multiviews
a53bc2
#
a53bc2
AddType text/html .php
a53bc2
a53bc2
#
a53bc2
# Add index.php to the list of files that will be served as directory
a53bc2
# indexes.
a53bc2
#
a53bc2
DirectoryIndex index.php
a53bc2
a53bc2
# mod_php options
a53bc2
<IfModule  mod_php7.c>
a53bc2
    #
a53bc2
    # Cause the PHP interpreter to handle files with a .php extension.
a53bc2
    #
a53bc2
    <FilesMatch \.php$>
a53bc2
        SetHandler application/x-httpd-php
a53bc2
    </FilesMatch>
a53bc2
a53bc2
    #
a53bc2
    # Uncomment the following lines to allow PHP to pretty-print .phps
a53bc2
    # files as PHP source code:
a53bc2
    #
a53bc2
    #<FilesMatch \.phps$>
a53bc2
    #    SetHandler application/x-httpd-php-source
a53bc2
    #</FilesMatch>
a53bc2
a53bc2
    #
a53bc2
    # Apache specific PHP configuration options
a53bc2
    # those can be override in each configured vhost
a53bc2
    #
a53bc2
    php_value session.save_handler "files"
a53bc2
    php_value session.save_path    "/var/lib/php/session"
a53bc2
    php_value soap.wsdl_cache_dir  "/var/lib/php/wsdlcache"
a53bc2
a53bc2
    #php_value opcache.file_cache   "/var/lib/php/opcache"
a53bc2
</IfModule>