Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Use same PHP modules for PHP 7.3 as PHP 7.2?

Discussion in 'EasyApache' started by SoftDux, Mar 21, 2019.

  1. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    1,024
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    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
     
  2. LucasRolff

    LucasRolff Well-Known Member

    Joined:
    May 27, 2013
    Messages:
    62
    Likes Received:
    48
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    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.
     
  3. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    1,024
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    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?
     
  4. LucasRolff

    LucasRolff Well-Known Member

    Joined:
    May 27, 2013
    Messages:
    62
    Likes Received:
    48
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    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:

    Code:
    rpm -qa --qf "%{NAME}\n" | grep ea-php72 | sed 's/php72/php73/g' | xargs yum install
     
    cPanelLauren likes this.
  5. cPanelLauren

    cPanelLauren Forums Analyst II Staff Member

    Joined:
    Nov 14, 2017
    Messages:
    6,472
    Likes Received:
    505
    Trophy Points:
    263
    Location:
    Houston
    cPanel Access Level:
    DataCenter Provider
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. SoftDux

    SoftDux Well-Known Member

    Joined:
    May 27, 2006
    Messages:
    1,024
    Likes Received:
    5
    Trophy Points:
    168
    Location:
    Johannesburg, South Africa
    cPanel Access Level:
    Root Administrator
    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.
     
    cPanelLauren likes this.
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice