Re: not parsing php files, giving us a save dialog.....
| From: | Chris Shiflett | Date: | Fri, 12 Dec 2003 19:18:55 +0000 |
| Subject: | Re: not parsing php files, giving us a save dialog..... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-172596@lists.php.net to get a copy of this message | ||
--- Ryan A <ryan@coinpass.com> wrote:
> the php files are not executing, instead its giving us a save dialog
> box...
Add this to your httpd.conf:
AddType application/x-httpd-php .php
Make sure that the right httpd.conf is being used by the Web server you
are requesting from, and also make sure that the file extension indicated
in httpd.conf corresponds to the extension of the file you are requesting.
Hope that helps.
Chris
=====
Chris Shiflett - http://shiflett.org/
PHP Security Handbook
Coming mid-2004
HTTP Developer's Handbook
http://httphandbook.org/