Re: not parsing php files, giving us a save dialog.....
| From: | Ryan A | Date: | Fri, 12 Dec 2003 19:49:16 +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-172598@lists.php.net to get a copy of this message | ||
Hi,
Thanks for replying.
We are on a freebsd account, the way we are setup is:
../apache/httpd.conf
../apache/virtual_hosts/www.sitename.tld.conf
we basically had to add some directives to one of the domains, which we
added and then put it back in the virtual_hosts directory, we later took out
the directives and restarted with the same results...
We didnt touch the httpd.conf or the php.ini files.
I dont know if my php.ini is "intact" but we have not touched it and it was
working before.
I did find this: AddType application/x-httpd-php .php
in my httpd.conf so that is not the problem, and this was working perfectly
till we restarted...
Any ideas?
Thanks,
-Ryan
> --- 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/
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
>