httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tony Karakashian <tkarakash...@gmail.com>
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 ...open ...save 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/libphp5.so

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

-T

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message