I wasn't sure where I should post this so I thought I'd post it here.
Does anyone run linux and have a recommended way to create virtual machines on their workstation? The reason why I ask is that I want to experiment with other versions of PHP without affecting the version of PHP installed on my workstation. More specifically, I want to compile PHP from source and install on the virtual machine so that my workstation's installation of PHP remains untouched. Given that these other versions of php that I'll be compiling might be unstable, I would not want to destabilize my workstation. I hope I might keep the wonkiness contained within the virtual machine.
Ideally I'd be able to create a variety of virtual machines:
start them up
install other php on them
edit my source using the IDE installed on my primary workstation
compile and install my altered source code on the virtual machine with a minimum of fuss
* shut down the virtual machine such that I can fire it up again later and it will retain its state.
I have no idea if any of this is feasible. Input would be most welcome.