Results 1 to 4 of 4
When I browse to a .php file on my apache server, my browser tries to open/save the file, instead of viewing it in the browser. I think this is my ...
- 10-24-2005 #1Linux Newbie
- Join Date
- Feb 2005
- Location
- Lebanon, PA
- Posts
- 110
Browsing to .php files on my apache server tries to download them
When I browse to a .php file on my apache server, my browser tries to open/save the file, instead of viewing it in the browser. I think this is my apache/php settings.
The page is:
http://mark.arkaoss.com/testindex.php
The rest of the site seems to work. Where can I check to fix this?'Linux is like a swiss army knife. Yet it never gets that "I'm bloated and need suspenders" feeling.' - www.arkaoss.com
- 10-24-2005 #2Linux Engineer
- Join Date
- Oct 2004
- Location
- Vancouver
- Posts
- 1,366
sounds like either you do not have php proberly installed or it is not called correctly through your httpd.conf?
Operating System: GNU Emacs
- 10-28-2005 #3Linux Newbie
- Join Date
- Dec 2003
- Location
- Netherlands
- Posts
- 193
You have to setup the permissions of your folder.
If you don't did that, you only can download the files!Computers Are Like Air Conditioners... They\'re both useless with Windows open!
- 10-28-2005 #4Linux Newbie
- Join Date
- Jul 2005
- Location
- ~/home
- Posts
- 105
make sure that you editted your httpd.conf,
look for the following lines:
Code:# And for PHP 4.x, use: # AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps


