Re: running php3 files

From: Date: Tue, 24 Feb 2004 19:40:51 +0000
Subject: Re: running php3 files
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-178771@lists.php.net to get a copy of this message
Ryan A typed this on 02/24/2004 10:45 AM:
Hi, A small problem, a pal of mine is hosting with a company that has PHP configured to run only with the .php extention and not the .php3 extention... Where will he have to make the changes so that his scripts will run if its .php or .php3 ?
Are you running Apache? in my /etc/httpd/conf/httpd.conf I have: [snip]
    <IfModule mod_php4.c>
        AddType application/x-httpd-php .php .php4 .php3 .phtml
        AddType application/x-httpd-php-source .phps
    </IfModule>
    <IfModule mod_php3.c>
        AddType application/x-httpd-php3 .php3
        AddType application/x-httpd-php3-source .phps
    </IfModule>
    <IfModule mod_php.c>
        AddType application/x-httpd-php .phtml
    </IfModule>
[/snip] -- Robby Russell, | Sr. Administrator / Lead Programmer Command Prompt, Inc. | http://www.commandprompt.com rrussell@commandprompt.com | Telephone: (503) 222.2783

« previous php.general (#178771) next »