tags:

views:

38

answers:

1

I can't seem to find a way to switch versions of PHP quickly. Is there something equivalent to ruby version manager for php? I need to switch between 5.3 and 5.2 on os x. thanks, -jm

A: 

you can download and install different version of mamp with php5.3 and php5.2 in different folder. copy files on both version folders since mysql is going to be common.

At once you can start one version of mamp and see and while switching you can stop current running mamp version and run other version.

This is a quick solution now i can think of.

here is windows solution for switching in this case also you need to have to different version of php in local directory.

switching between php5 and php 4

JapanPro