summaryrefslogtreecommitdiff
path: root/files/modules.d/Gentoo/70_mod_php5.conf
blob: a8254359fa0c7004c60cddbcfc512d1ebdbfa8b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<IfDefine PHP5>
	# Load the module first
	<IfModule !mod_php5.c>
		LoadModule php5_module    modules/libphp5.so
	</IfModule>

	# Set it to handle the files
	<IfModule mod_mime.c>
		AddType application/x-httpd-php .php
		AddType application/x-httpd-php .phtml
		AddType application/x-httpd-php .php3
		AddType application/x-httpd-php .php4
		AddType application/x-httpd-php .php5
		AddType application/x-httpd-php-source .phps
	</IfModule>

	DirectoryIndex index.php index.phtml
</IfDefine>