Re: PHP4, .php3 files and Apache
| From: | Philip Olson | Date: | Fri, 27 Apr 2001 18:37:31 +0000 |
| Subject: | Re: PHP4, .php3 files and Apache | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50677@lists.php.net to get a copy of this message | ||
do something similar to :
AddType application/x-httpd-php .php .php3 .html .phtml .parsemephp
regards,
philip
On Fri, 27 Apr 2001, Kath wrote:
> I run a Debian 2.2 server with Apache (from stable) and PHP4 (from
> stable).
>
> I downloaded phpChat in order to setup a chat center on the website.
> However, the files are named .php3.
>
> At first I thought I could be cute and just rename the files to .php,
> as .php is what we name our files on our web server. However, I
> realized that all the links would not work, as the links and
> includes()/requires() in the files would call to the wrong name.
>
> Now is there anyway to make Apache run a .php3 file with PHP4? I
> should just need to add that extension somewhere in Apache (srm.conf),
> but I'm not familiar with how.
>
> - Kath
>