Re: When i go to a page, it asks for me to download
| From: | Robert W. Kramer III | Date: | Sat, 16 Nov 2002 05:45:11 +0000 |
| Subject: | Re: When i go to a page, it asks for me to download | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-9164@lists.php.net to get a copy of this message | ||
I'm having the same problem. I'm also fairly sure it means that PHP isn't
enabled in apache2/conf/httpd.conf.
But I've followed the instructions at
http://www.php.net/manual/en/install.apache2.php
We are running Apache 2.0.43 with mod_perl-2. The URL above recommends using
PHP 4.3.0-dev with the latest version of Apache 2. I've opted for the sapi
version of PHP (php4apache2.dll).
Apache's /server-info page shows
Current Configuration:
<......>
LoadModule php4_module c:/php/sapi/php4apache2.dll
<......>
In my httpd.conf file I've entered the following:
# PHP
LoadModule php4_module c:/php/sapi/php4apache2.dll
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
When I run PHP from the command line to load my hello.php file, it gets
processed correctly and the output is correct.
I'm not sure where else to look or how to troubleshoot any further. The
apache2/logs don't indicate there is any problem.
Bob Kramer
I get the same problem as you - when I go to my hello.php page, IE prompts
me whether I want to Open or Save the file to disk...
"Matt Jaeger" <jaeger@alamo-allies.com> wrote in message
news:20021115215833.61829.qmail@pb1.pair.com...
> i installed the sapi method in win 2kpro im running apache 1.3.x
> when i go to my index.php (its a simple test page)
> it requests a download. do you know why?
>
> --
> Jæger
>
>