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
[EMAIL PROTECTED] | Telephone: (503) 222.2783

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to