running two versions of php concurrently

Not for 'how-to' coding questions but PHP theory instead, this forum is here for those of us who wish to learn about design aspects of programming with PHP.

Moderator: General Moderators

Post Reply
User avatar
jeanloui
Forum Commoner
Posts: 36
Joined: Fri Sep 26, 2003 2:38 pm
Location: Girona (Europe)

running two versions of php concurrently

Post by jeanloui »

(I don't know if this is the appropiate forum)

As seen at

http://www.php.net/manual/en/migration4 ... h.php3.php

it is possible to run two versions of php at the same time (?)
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
* Has someone tried this ?
* If so, How can I differenciate wich directories run 4.1.2 and wich do 4.3.4 ?
* Will (then) each version run HIS OWN php.ini ?
Post Reply