Re: PHP3 and PHP4 together

From: Date: Fri, 08 Dec 2000 08:04:44 +0000
Subject: Re: PHP3 and PHP4 together
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-29302@lists.php.net to get a copy of this message
PHP user wrote: > > Hi all, > > Can I compile/install php3 and php4 together as apache module ? > I'm using: > Apache 1.3.14 > PHP 4.0.3pl1 > PHP 3.0.15 > Both PHP's with: ldap, xml, mysql, imap, etc > From INSTALL file of php-tarball: -------------------------- To enable it, configure PHP 3 and PHP 4 to use APXS (--with-apxs) and the necessary link extensions (--enable-versioning). Otherwise, all standard installations instructions apply. For example: $ ./configure \ --with-apxs=/apache/bin/apxs \ --enable-versioning \ --with-mysql \ --enable-track-vars -------------------------- It worked this way for me. But why to use both of php-modules? Maybe it's better to use only php4 and force Apache to use for .php and .php3 files mod_php4 by this line in httpd.conf: AddType application/x-httpd-php .php .php3 Hope this helps. :) -- Pavel a.k.a. Papi

« previous php.general (#29302) next »