Subversion Repositories configs

Rev

Rev 4 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
4 - 1
#
2
# PHP is an HTML-embedded scripting language which attempts to make it
3
# easy for developers to write dynamically generated webpages.
4
#
5
<IfModule prefork.c>
6
  LoadModule php5_module modules/libphp5.so
7
</IfModule>
56 - 8
<IfModule !prefork.c>
4 - 9
  LoadModule php5_module modules/libphp5-zts.so
10
</IfModule>
11
 
56 - 12
 
4 - 13
#
14
# Cause the PHP interpreter to handle files with a .php extension.
15
#
56 - 16
<FilesMatch \.php$>
17
    SetHandler application/x-httpd-php
18
</FilesMatch>
19
 
20
#
21
# Allow php to handle Multiviews
22
#
4 - 23
AddType text/html .php
24
 
25
#
26
# Add index.php to the list of files that will be served as directory
27
# indexes.
28
#
29
DirectoryIndex index.php
30
 
31
#
56 - 32
# Uncomment the following lines to allow PHP to pretty-print .phps
4 - 33
# files as PHP source code:
34
#
56 - 35
#<FilesMatch \.phps$>
36
#    SetHandler application/x-httpd-php-source
37
#</FilesMatch>
38
 
39
#
40
# Apache specific PHP configuration options
41
# those can be override in each configured vhost
42
#
43
php_value session.save_handler "files"
44
php_value session.save_path    "/var/lib/php/session"