]> TLD Linux GIT Repositories - packages/php.git/blob - php-mod_php.conf
- fix config
[packages/php.git] / php-mod_php.conf
1 LoadModule php_module modules/mod_php.so
2
3 <IfModule mod_php.c>
4         <Files *.php>
5                 AddType application/x-httpd-php .php
6         </Files>
7         <Files *.php3>
8                 AddType application/x-httpd-php .php3
9         </Files>
10         <Files *.php4>
11                 AddType application/x-httpd-php .php4
12         </Files>
13         <Files *.php5>
14                 AddType application/x-httpd-php .php5
15         </Files>
16         <Files *.inc>
17                 AddType application/x-httpd-php .inc
18         </Files>
19         <Files *.phtml>
20                 AddType application/x-httpd-php .phtml
21         </Files>
22
23         # Uncomment to disable php in user directories.
24         # To re-enable php in user directories comment the following lines
25         # (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
26         # prevents .htaccess files from disabling it.
27 #       <IfModule mod_userdir.c>
28 #               <Directory /home/users/*/public_html>
29 #                       php_admin_value engine Off
30 #               </Directory>
31 #       </IfModule>
32 </IfModule>