PHP: Running PHP 3 and PHP 4 concurrently - Manual

downloads | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

Migrating Configuration Files Migrating from PHP 3 to PHP 4

Last updated: Sat, 27 Jan 2007

view this page in

# Running PHP 3 and PHP 4 concurrently

Recent operating systems provide the ability to perform versioning and scoping. This features make it possible to let PHP 3 and PHP 4 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 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

add a note User Contributed Notes
Running PHP 3 and PHP 4 concurrently
08-Aug-2003 07:43
`you can also install many different versions on a windows os by using jana-server 2. it works great.`
add a note
Migrating Configuration Files Migrating from PHP 3 to PHP 4

Last updated: Sat, 27 Jan 2007
show source | credits | stats | sitemap | contact | advertising | mirror sites
Copyright © 2001-2007 The PHP Group
All rights reserved.
This mirror generously provided by: Yahoo! Inc.
Last updated: Sat Mar 10 10:36:09 2007 PST