af9dc8
#
af9dc8
# Cause the PHP interpreter to handle files with a .php extension.
af9dc8
#
af9dc8
<FilesMatch \.php$>
af9dc8
    SetHandler application/x-httpd-php
af9dc8
</FilesMatch>
af9dc8
af9dc8
#
af9dc8
# Allow php to handle Multiviews
af9dc8
#
af9dc8
AddType text/html .php
af9dc8
af9dc8
#
af9dc8
# Add index.php to the list of files that will be served as directory
af9dc8
# indexes.
af9dc8
#
af9dc8
DirectoryIndex index.php
af9dc8
af9dc8
#
af9dc8
# Uncomment the following lines to allow PHP to pretty-print .phps
af9dc8
# files as PHP source code:
af9dc8
#
af9dc8
#<FilesMatch \.phps$>
af9dc8
#    SetHandler application/x-httpd-php-source
af9dc8
#</FilesMatch>
af9dc8
af9dc8
#
af9dc8
# Apache specific PHP configuration options
af9dc8
# those can be override in each configured vhost
af9dc8
#
af9dc8
php_value session.save_handler "files"
af9dc8
php_value session.save_path    "/var/lib/php/session"