Re: File download?
| From: | Jeremy Wadsack | Date: | Fri, 21 Sep 2001 18:37:46 +0000 |
| Subject: | Re: File download? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4368@lists.php.net to get a copy of this message | ||
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
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.
--
Jeremy Wadsack
Wadsack-Allen Digital Group