Want to subscribe to topics you're interested in?
Become a Member

Is it possible to use multiple versions of php 5.6 and 7.3?

Discussion in 'Introductions' started by germanosBR, Nov 12, 2020.

  1. germanosBR

    germanosBR New Member

    1
    0
    1
    Jan 4, 2020
    Ratings:
    +0
    Local Time:
    9:38 AM
    1.17.7
    10.3.21
    Dear Sirs,

    I tried to find the solution but I couldn't ...

    Is it still possible to use PHP 5.6 and php 7.3 on the server?
     
  2. pdinh97qng

    pdinh97qng Member

    99
    12
    8
    Jan 24, 2016
    Ratings:
    +31
    Local Time:
    4:38 AM
    As of right now, CMM doesn't support multiple PHP versions.
     
  3. eva2000

    eva2000 Administrator Staff Member

    45,633
    10,356
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,070
    Local Time:
    10:38 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    Yup right now Centmin Mod doesn't support multiple PHP versions but it's on the to do list. Note though with multiple PHP versions on same server, the theoretical max cpu and memory resource can increase 100% for each concurrent PHP version added. So if you have PHP 5.6, 7.2, 7.3 running concurrently you can in theory use up to 3x more cpu and memory depending on your traffic and sites' PHP usage as each PHP version has to have it's own master/worker pool set and own Zend Opcache memory allocation etc.

    Depending on cost of your server, it might be cheaper to have all sites grouped together for same PHP versions per server i.e. if you had 3 sets of 2 sites using PHP 5.6, 7.2, 7.3 respectively, you could have 3x VPS each with 1-2GB ram for specific PHP 5.6, 7.2 and 7.3 versions as it may end up the same price as a single VPS that now requires a theoretical max 3x 2 = 6GB memory to handle 3 versions of PHP concurrently.
     
  4. eva2000

    eva2000 Administrator Staff Member

    45,633
    10,356
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +16,070
    Local Time:
    10:38 PM
    Nginx 1.19.x
    MariaDB 5.5/10.x
    welcome @germanosBR to Centmin Mod Community. There are 6 steps to learning more about Centmin Mod ;) And to modifying config files and manage services more quickly, check out Centmin Mod Command Shortcuts.

    Might also be interested in reading up on latest LEMP stack comparison benchmarks tagged here.

    You might want to try the 123.09beta01 build as it will be next stable release and well has alot of improvements if you check 2nd post change log at Beta Branch - Centmin Mod .09 beta branch Testing. And you can share your initial install times here.

    Threads you might want to participate in ;)

    Quick Tips


    Threads & Info To Bookmark



    Threads to read, pages to bookmark and threads to watch/subscribe to get to know Centmin Mod would include:

    Centmin Mod Insights Forum



    The Centmin Mod Insights forums digs deeper into the inner workings of Centmin Mod so some useful threads in this forum include:

    Security Related Developments



    A few security related developments you might be interested reading about

    Premium Membership


    Centmin Mod Donations



    You now can show your love and support for Centmin Mod via