How to duplicate server setup? Virtualmin/Webmin

Scenario, want to duplicate or mirror a server.

The server setup only...not websites.

I've done a complete setup of the bare server, same OS, then Virtualmin install.

Transferred the site with no problem.

This is where I ran into problems, when the restore was done the sites starting using "php" and the original server uses "php5-cgi" this causes the server load to peak very high.

I'll admit I'm not professional so need some suggestions on possible solutions.

It must be in the initial setup..

This is where I'm stuck

 

root@cdn1:/etc/apache2/mods-enabled# a2enmod php5

Module php5 already enabled

root@cdn1:/etc/apache2/mods-enabled# sudo a2enmod php5-cgi                          

ERROR: Module php5-cgi does not exist!

root@cdn1:/etc/apache2/mods-enabled# sudo apt-get install php5-cgi

Reading package lists... Done

Building dependency tree

Reading state information... Done

php5-cgi is already the newest version.

0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

ManOfTeal.COM a Proud UNA site, six years running strong!
Quote · 2 Jun 2015

Aren't you supposed to use fpm along cgi ?

Umar Haroon
Quote · 2 Jun 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.