httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Karakashian <>
Subject Re: [users@httpd] apache "index.php starts downloading on my computer instead of opening a web page"
Date Thu, 24 Feb 2005 13:20:43 GMT
> "you have chosen to open index.php which is a PHP file
> from http://mywebsite,org/tacc2. what should mozilla
> do with this file it to
> disk................###i have pasted the index.html

Have you loaded the PHP module in your httpd.conf file with a line like below?

LoadModule php_module lib/apache/

You also need to let Apache know that PHP files are to be run on the
server like so:

AddType application/x-httpd-php .php


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message