RE: [PHP] trouble getting .php3 files to work in php4.0.4pl1 (sta tic)
| From: | Hoover, Josh | Date: | Fri, 23 Feb 2001 14:50:26 +0000 |
| Subject: | RE: [PHP] trouble getting .php3 files to work in php4.0.4pl1 (sta tic) | ||
| Groups: | php.general php.install | ||
| Request: | Send a blank email to php-general+get-41312@lists.php.net to get a copy of this message | ||
Try doing this in your httpd.conf (replacing what you have now):
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php-source .phps
Josh Hoover
KnowledgeStorm, Inc.
Searching for a new IT solution for your company? Need to improve your
product marketing?
Visit KnowledgeStorm at www.knowledgestorm.com to learn how we can simplify
the process for you.
KnowledgeStorm - Your IT Search Starts Here
> Hello, I am having trouble getting .php3 files to work in php4.0.4pl1.
>
> .php files work fine, but my browser wants to download the .php3 file.
>
> Here are the relevant lines from httpd.conf:
>
> AddType application/x-httpd-php .php .php3
> AddType application/x-httpd-php-source .phps
>
> I'm at a bit of a loss as to why a .php file would work, but
> a .php3 file
> does
> not.