Blame SOURCES/php.conf

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