PHP
downloads | documentation | faq | getting help | mailing lists | wiki | 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, 17 Jul 2004

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 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.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites