I'm migrating servers and one thing I've never found a solution to is;
How do we efficiently copy all the installed PEAR / PECL modules that are on one server and install on the new one?
For example in WHM -> Software -> Module Installers -> PHP Extensions and Applications Package
We have a long list of these that we'd like to re-install on the new server so ensure there are no missing dependencies for websites.
Is there an "easy" way to list all of these and install via CLI?
Likewise, if we want to install all Extensions/Applications that are currently installed on PHP 7.1 and install it on PHP 7.2, how could we efficiently do this other than typing in each package into the Install box?
How do we efficiently copy all the installed PEAR / PECL modules that are on one server and install on the new one?
For example in WHM -> Software -> Module Installers -> PHP Extensions and Applications Package
We have a long list of these that we'd like to re-install on the new server so ensure there are no missing dependencies for websites.
Is there an "easy" way to list all of these and install via CLI?
Likewise, if we want to install all Extensions/Applications that are currently installed on PHP 7.1 and install it on PHP 7.2, how could we efficiently do this other than typing in each package into the Install box?