Delicious Bookmark this on Delicious Share on Facebook SlashdotSlashdot It! Digg! Digg



PHP : Appendices : Migrating from PHP 3 to PHP 4 : Running PHP 3 and PHP 4 concurrently

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

Code Examples / Notes » migration44.with3

08-aug-2003 03:43

you can also install many different versions on a windows os by using jana-server 2. it works great.

Change Language


Follow Navioo On Twitter
What has changed in PHP 4
Running PHP 3 and PHP 4 concurrently
Migrating Configuration Files
Parser behavior
Error reporting
Initializers
empty('0')
Missing functions
PHP 3 extension
Variable substitution in strings
Cookies
Handling of global variables
eXTReMe Tracker