
02-03-2011, 11:32 AM
|
|
Senior Member
|
|
Join Date: Jul 2009
Posts: 218
|
|
[solved] PHP 5.2.X + PHP 5.3.X side-by-side on a LSWS+cPanel Server
Hello!
I know that it's possible to run PHP 5.3.X and 5.2.X side by side and I have a gist of how to get it done. We're already running 5.2.X on our servers.
I've guessed this so far:- Build PHP 5.3.X manually, it will need it's own folder for the binaries, it's own php.ini, extension directories, modules, etc...
- Add a new LSAPI handler in LiteSpeed for the new PHP binary.
I also know about these two commands for the ./configure:
Code:
./configure --prefix=/wherever/php5.3 --with-config-file-path=/wherever/php5.3
I'm trying to work out if I need to do anything else special with the ./configure to install it separately.
Anybody have any thoughts/tips/suggestions on installing 5.3 on a server with 5.2 without conflicts? I'm going to get it working one way or another since I know it's possible and I'll test it on our dev box before putting it on a production server obviously.
Just thought, if anybody has "Been there, done that" then there would be no need to re-invent the wheel.
Last edited by NiteWave; 11-02-2011 at 06:36 PM..
|