emus
08-20-2004, 06:16 PM
Hi everyone
I just installed php5 on my computer and except for some minor additional configurations, everything went well.
I saw the following in httpd.conf
TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf
and edited mod_mime-defaults.conf to include
AddType application/x-httpd-php .php .phtml
However, when I try to view a .php file, the page simply doesn't display and I get the Konqueror mime-type box asking me which applications I want to use to open the page.
I'm not sure what I'm doing wrong. Does anyone have any idea why .php files aren't being displayed correctly?
Thanks,
emus
I just installed php5 on my computer and except for some minor additional configurations, everything went well.
I saw the following in httpd.conf
TypesConfig /etc/apache2/mime.types
DefaultType text/plain
Include /etc/apache2/mod_mime-defaults.conf
and edited mod_mime-defaults.conf to include
AddType application/x-httpd-php .php .phtml
However, when I try to view a .php file, the page simply doesn't display and I get the Konqueror mime-type box asking me which applications I want to use to open the page.
I'm not sure what I'm doing wrong. Does anyone have any idea why .php files aren't being displayed correctly?
Thanks,
emus