Re: File download?
| From: | Arne Goetje | Date: | Fri, 26 Oct 2001 07:28:55 +0000 |
| Subject: | Re: File download? | ||
| References: | 1 2 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4756@lists.php.net to get a copy of this message | ||
Jeremy Wadsack wrote:
>
> Steve Blair (stephen.e.blair@alltel.com):
>
>> I finally got PHP 4.06/Apache 1.3.20 to compile on Solaris 8, I did the
>> static module. I ran into another problem though. When I try to access my
>> test.php both Mozilla and IE prompt me for an application/download. I ran
>> httpd -l and it shows mod_php4.c, I checked the httpd.conf and the
>> 'AddType application/x-httpd-php .php' is there. I also placed a false
>> LoadModule statement in the httpd.conf file and tried a reload which
>> failed, so I've got the right configuration file. Am I missing something
>> else here? Any help is greatly appreciated
I have the same problem here...
> Add the AddHandler to an Apache config file and kick the server.
>
> The line should look like this:
>
> AddHandler php-script .php
>
>
> And goes in srm.conf in old Apaches, httpd.conf in new ones.
>
I did this, but the result is still the same... :(
Apache 1.3.22 + PHP 4.0.6