I have two CentOS 6.5 VMs/servers with Plesk 12 installed on both. On on of these servers, lets call it server 1, I have compiled PHP 5.2.17 - yes I know this is old etc. however two sites I host require it.
Now my query is this, can I simply copy that compiled source over to the other server and 'activate' it within Plesk - will I be missing dependencies if I do this? Or do I have to compile from source on each machine - in the case of PHP 5.2.17; don't get wrapped up in the Plesk element, it is not important.
Up to now both servers are virtually identical in setup and software installed, only server 1 has the compiler tools and software installed in order to compile PHP 5.2.17.
The reason I am asking this is that I want to move the few sites off Server 1 and shut it down, I can then invest the funding for that in the other server - upgrade it's resources etc..
#
The question is probably more specific than it needs to be really - the question applies to any compiled source where it is being moved to alike os environment.
Does my question make sense?
Thanks for your help in advance.