Blame SOURCES/php.conf

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