aboutsummaryrefslogtreecommitdiffstats
path: root/meta-webserver/recipes-php/modphp/files/70_mod_php5.conf
blob: 1de6fb11ac1087c45ad9d5308d31ef1015d20e0e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# vim: ft=apache sw=4 ts=4
<IfDefine PHP5>
	# Load the module first
	<IfModule !sapi_apache2.c>
		LoadModule php5_module    lib/apache2/modules/libphp5.so
	</IfModule>

	# Set it to handle the files
	AddHandler php5-script .php .phtml .php3 .php4 .php5
	AddType application/x-httpd-php-source .phps
	DirectoryIndex index.html index.html.var index.php index.phtml
</IfDefine>