View previous topic :: View next topic |
Author |
Message |
ozzian n00b
Joined: 01 Mar 2003 Posts: 3 Location: Sweden
|
Posted: Sat Mar 01, 2003 2:03 am Post subject: PHP mime types |
|
|
I finally got php4 up and running with apache2. Now my only problem is apache won't handle files with the extension .php. It handles .php4 and .php3-files correctly but trying to access a .php-file only generates a download dialog. In 70_mod_php.conf which is included from apache2.conf mime types are added, but that doesn't seem to have any effect.
So, does somebody know how to make apache handle .php-files too? |
|
Back to top |
|
|
atac Apprentice
Joined: 04 Jan 2003 Posts: 234 Location: haninge, swe
|
Posted: Sun Mar 02, 2003 12:36 am Post subject: |
|
|
do you have these:
Code: |
AddType application/x-httpd-php .php .php3 .phtml
AddType application/x-httpd-php-source .phps
|
? _________________ 1 + 1 + 1 = 11 |
|
Back to top |
|
|
|