Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2001 16:21:27 +0100
From:      Boris <koester@x-itec.de>
To:        "oldfart@gtonet" <oldfart@gtonet.net>
Cc:        "freebsd-stable@FreeBSD. ORG" <freebsd-stable@FreeBSD.ORG>
Subject:   Re: php3 - php4...
Message-ID:  <159284931.20010219162127@x-itec.de>
In-Reply-To: <BIEHKEFNHFMMJEKCDMLNEENCCEAA.oldfart@gtonet.net>
References:  <BIEHKEFNHFMMJEKCDMLNEENCCEAA.oldfart@gtonet.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello oldfart,

Monday, February 19, 2001, 3:48:53 PM, you wrote:

og> Do they co-exist or is php4 backwards compatible with php3? Is it ok to
og> install both or does 3 need to be removed first?

I have installed PHP4 and I made an entry into httpd.conf like this to
handle .php3 and .php Files with php4-engine (very easy to setup):


    #
    # AddType allows you to tweak mime.types without actually editing it, or to
    # make certain files to be certain types.
    #
    # For example, the PHP 3.x module (not part of the Apache distribution - see
    # http://www.php.net) will typically use:
    #
    AddType application/x-httpd-php .php3

    #AddType application/x-httpd-php3-source .phps
    #
    # And for PHP 4.x, use:
    #
    AddType application/x-httpd-php .php
    AddType application/x-httpd-php-source .phps



--
Boris [MCSE, CNA]
...................................................................
 X-ITEC : Consulting * Programming * Net-Security * Crypto-Research
........: [PRIVATE ADDRESS:] 
        : Boris Köster eMail koester@x-itec.de http://www.x-itec.de 
        : Grüne 33-57368 Lennestadt Germany Tel: +49 (0)2721 989400
        : 101  PERFECTION - SECURITY - STABILITY - FUNCTIONALITY 
........:..........................................................

Everything I am writing is (c) by Boris Köster and may not be 
rewritten or distributed in any way without my permission.		




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?159284931.20010219162127>