2004-09-09 10:36:43 +00:00
|
|
|
#
|
2004-09-09 10:40:26 +00:00
|
|
|
# Cause the PHP interpreter to handle files with a .php extension.
|
2004-09-09 10:36:43 +00:00
|
|
|
#
|
2012-11-14 06:59:11 +00:00
|
|
|
<FilesMatch \.php$>
|
|
|
|
SetHandler application/x-httpd-php
|
|
|
|
</FilesMatch>
|
2013-01-12 10:55:09 +00:00
|
|
|
# Need for Multiviews
|
|
|
|
AddType text/html .php
|
2004-09-09 10:36:43 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Add index.php to the list of files that will be served as directory
|
|
|
|
# indexes.
|
|
|
|
#
|
|
|
|
DirectoryIndex index.php
|
2005-04-01 12:01:20 +00:00
|
|
|
|
|
|
|
#
|
2012-11-14 06:59:11 +00:00
|
|
|
# Uncomment the following lines to allow PHP to pretty-print .phps
|
2005-04-01 12:01:20 +00:00
|
|
|
# files as PHP source code:
|
|
|
|
#
|
2012-11-14 06:59:11 +00:00
|
|
|
#<FilesMatch \.phps$>
|
|
|
|
# SetHandler application/x-httpd-php-source
|
|
|
|
#</FilesMatch>
|
2012-09-17 14:34:56 +00:00
|
|
|
|
|
|
|
#
|
|
|
|
# Apache specific PHP configuration options
|
|
|
|
# those can be override in each configured vhost
|
|
|
|
#
|
2012-10-06 07:49:21 +00:00
|
|
|
php_value session.save_handler "files"
|
|
|
|
php_value session.save_path "/var/lib/php/session"
|