Re: Apache - and PHP4 - configuring httpd.conf for PHP4
| From: | Chris Hewitt | Date: | Tue, 31 Aug 2004 16:59:31 +0000 |
| Subject: | Re: Apache - and PHP4 - configuring httpd.conf for PHP4 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-14262@lists.php.net to get a copy of this message | ||
On Mon, 2004-08-30 at 23:37, Nigel J. Wood wrote:
> Hi,
>
> My Apache httpd.conf file looks like this:
>
> ##
> ## httpd.conf -- Apache HTTP server configuration file
> ##
>
> #
> # Based upon the NCSA server configuration files originally by Rob McCool.
---------------lots snipped------------------------------
>
> Everytime I call my phpinfo(). The server brings up a download
> prompt. Wanted the actual file to be downloaded. How can I fix this
> problem?
>
I'm guessing this is an Apache httpd 1.3.x rather than 2.0.x? If so, you
do not have the:
AddModule php4_mod.c
line in your httpd.conf.
You only needed to have pasted the lines with php in them, not all of
httpd.conf.
HTH
Chris