httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graham Frank" <gfr...@neoservers.com>
Subject RE: [users@httpd] PHP wants to download instead of run
Date Sat, 01 Dec 2007 23:16:38 GMT
Hello,

Have you added the "AddHandler application/x-httpd-php .php" to your Apache
config or .htaccess file?  Unless you do that, Apache won't know to process
.php as a PHP file.

----
Graham Frank
Neoservers LLC - Founder and Owner
Ph: (608) 359-1593
Member of the Better Business Bureau   


-----Original Message-----
From: Chris Arnold [mailto:carnold@electrichendrix.com] 
Sent: Saturday, December 01, 2007 4:19 PM
To: users@httpd.apache.org
Subject: [users@httpd] PHP wants to download instead of run

I have a site that uses PHP5 and when trying to access the site, the php
wants to download instead of run. It seems something is not configured
in apache 2 for php. The site is mytimewithgod.net and a phpinfo file is
at mytimewithgod.net/phpinfo.php but that does not run either. The logs
do not show anything that helps. I have php5 and mod_php installed and
have restarted apache. I also have loadmodule php5_module and the path
to the module in loadmodule.conf

---------------------------------------------------------------------
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




---------------------------------------------------------------------
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