Skip to main content

Use same PHP modules for PHP 7.3 as PHP 7.2?

Comments

5 comments

  • LucasRolff
    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
  • SoftDux
    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
  • LucasRolff
    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
  • cPanelLauren
    Thanks @LucasRolff for the great advice @SoftDux let us know if this helps
    0
  • SoftDux
    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.