Re: [PHP] Apache asks to save php file?
- From: robert@xxxxxxxxxxxxx (Robert Cummings)
- Date: Tue, 06 Feb 2007 18:26:54 -0500
On Tue, 2007-02-06 at 16:15 -0700, Skip Evans wrote:
Hey all,
Just did a new install on FreeBSD 6.0 of Apache 2,
PHP4 and MySQL, but the browser asks to save a PHP
file rather than execute it. I do have the
following in httpd.conf, however.
LoadModule php4_module libexec/apache2/libphp4.so
DirectoryIndex index.php index.html index.htm
index.html.var
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
Now I'm wondering if somehow PHP4 got compiled
without the Apache module selected?
Does that sound accurate? I did check it off when
the compile began however.
Anything in your apache logs? Did you restart the webserver? Did you
compile yourself?
Cheers,
Rob.
--
..------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com |
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'
.
- Follow-Ups:
- Re: [PHP] Apache asks to save php file?
- From: Skip Evans
- Re: [PHP] Apache asks to save php file?
- References:
- Apache asks to save php file?
- From: Skip Evans
- Apache asks to save php file?
- Prev by Date: Apache asks to save php file?
- Next by Date: Re: [PHP] Apache asks to save php file?
- Previous by thread: Apache asks to save php file?
- Next by thread: Re: [PHP] Apache asks to save php file?
- Index(es):