diff options
Diffstat (limited to 'recipes/modphp/files/70_mod_php5.conf')
-rw-r--r-- | recipes/modphp/files/70_mod_php5.conf | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/modphp/files/70_mod_php5.conf b/recipes/modphp/files/70_mod_php5.conf new file mode 100644 index 0000000000..1de6fb11ac --- /dev/null +++ b/recipes/modphp/files/70_mod_php5.conf @@ -0,0 +1,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> |