summaryrefslogtreecommitdiffstats
path: root/dev-lang/php/files/70_mod_php5.conf-apache2-r1
blob: 50911ad39d9c6b7577be9ecfc03c8df1b85281b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<IfDefine PHP5>
	# Load the module first
	<IfModule !mod_php5.c>
		LoadModule php5_module    modules/libphp5.so
	</IfModule>

	# Set it to handle the files
	<FilesMatch "\.ph(p5?|tml)$">
		SetHandler application/x-httpd-php
	</FilesMatch>

	<FilesMatch "\.phps$">
		SetHandler application/x-httpd-php-source
	</FilesMatch>

	DirectoryIndex index.php index.phtml
</IfDefine>