Re: php3+php4
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: php3+php4 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-12242@lists.php.net to get a copy of this message | ||
On Tue, 9 Nov 1999, Dmitry S. Sivachenko wrote:
> Hello!
> Is it possible to compile apache with both php3 and php4 support?
From the PHP 4 INSTALL file:
USING PHP3 AND PHP4 AS CONCURRENT APACHE MODULES
Recent operating systems provide the ability to perform versioning and
scoping. This features make it possible to let PHP3 and PHP4 run as
concurrent modules in one Apache server.
This feature is known to work on the following platforms:
- Linux with recent binutils (binutils 2.9.1.0.25 tested)
- Solaris 2.5 or better
- FreeBSD (3.2, 4.0 tested)
To enable it, configure PHP3 and PHP4 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
If this also works on your platform or if you know a way to do it,
please report it to our bug database at http://bugs.php.net
You will need recent cvs versions of both PHP 3 and 4 for this to work.
-Rasmus