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