]> git.pld-linux.org Git - packages/php.git/blame - php-mod_php.conf
up to 8.3.6 (fixes CVE-2024-1874 CVE-2024-2756 CVE-2024-3096 CVE-2024-2757)
[packages/php.git] / php-mod_php.conf
CommitLineData
61d0f042 1LoadModule php_module modules/mod_php.so
c0240cb1 2
61d0f042 3<IfModule mod_php.c>
c0240cb1 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>
48deacb9
ER
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>
c0240cb1 32</IfModule>
This page took 0.642609 seconds and 5 git commands to generate.