Use same PHP modules for PHP 7.3 as PHP 7.2?
Hi,
I see PHP7.3 is available through WHM but when I want to deploy it, I need to select all the PHP modules that I have selected on PHP 7.2 again. Is there any way to automatically select the same PHP and PEAR modules? I'd hate to have to manually do this on multiple servers.
Thanx
-
You can create an EA4 profile with the packages you want, export it, and import it on all other servers :) The pear modules will be more tricky. 0 -
You can create an EA4 profile with the packages you want, export it, and import it on all other servers :) The pear modules will be more tricky.
Yes, I know this. While less tedious, it's still a lot of work. Surely it should be possible to re-use / copy the same PHP modules to a new PHP version?0 -
Yes, I know this. While less tedious, it's still a lot of work. Surely it should be possible to re-use / copy the same PHP modules to a new PHP version?
It is.. When you select the new PHP version to enable it, it asks whether you wanna match the modules from other versions :) You can also do a bash 1-liner:rpm -qa --qf "%{NAME}\n" | grep ea-php72 | sed 's/php72/php73/g' | xargs yum install
0 -
Thanks @LucasRolff for the great advice @SoftDux let us know if this helps 0 -
It is.. When you select the new PHP version to enable it, it asks whether you wanna match the modules from other versions :) You can also do a bash 1-liner:
rpm -qa --qf "%{NAME}\n" | grep ea-php72 | sed 's/php72/php73/g' | xargs yum install
Interested, the previous time I wanted to upgrade, it didn't have this option. But I see it now. Let's see how it goes.0
Please sign in to leave a comment.
Comments
5 comments