PHP 4 and PHP 5

drbowen wrote on Monday, January 09, 2006:

Is it possible to run PHP4 and PHP5 on the same box and switch back and forth between the two?

How about MySQL4+ and MySQL 5+?

I assume the MySQLs could be run at the same time with the two versions listening on different ports, say 3306 and 3307?

Sam Bowen, MD

andres_paglayan wrote on Tuesday, January 10, 2006:

yes, it’s possible, it implies changing relevant configuration entries in apache2.conf plus restarting it every time you are switching.

drbowen wrote on Wednesday, January 11, 2006:

It seems that this might be the best way to test changes in moving from PHP4 and PHP5.

An alternative would be running VMware with the PHP5 and MySQL 5 configurations.

Sam Bowen, MD