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

Install Centminmod with Custom changes

Discussion in 'Install & Upgrades or Pre-Install Questions' started by R0rke, Aug 31, 2016.

  1. R0rke

    R0rke Member

    168
    22
    18
    Jun 2, 2016
    Iran
    Ratings:
    +37
    Local Time:
    11:35 PM
    2
    10
    how can i install PHP 7 in first fresh install ?
    for example in fresh install centminmod automatic will install PHP 5.6.25 i want to just install PHP 7.0.10

     
  2. eva2000

    eva2000 Administrator Staff Member

    54,927
    12,240
    113
    May 24, 2014
    Brisbane, Australia
    Ratings:
    +18,811
    Local Time:
    4:35 PM
    Nginx 1.27.x
    MariaDB 10.x/11.4+
    Centmin Mod 123.09beta01 can do this out of box see the betainstaller7.sh version install Beta Branch - Centmin Mod .09 beta branch Testing | Centmin Mod Community
    Code (Text):
    yum -y update; curl -O https://centminmod.com/betainstaller7.sh && chmod 0700 betainstaller7.sh && bash betainstaller7.sh


    or you can do it manually using persistent config file override if you use betainstaller.sh instead of betainstaller7.sh
    Code (Text):
    mkdir -p /etc/centminmod/
    touch /etc/centminmod/custom_config.inc
    echo "PHP_VERSION='7.0.10'" >> /etc/centminmod/custom_config.inc
    yum -y update; curl -O https://centminmod.com/betainstaller.sh && chmod 0700 betainstaller.sh && bash betainstaller.sh
    


    for 123.09beta01, i recommend the 1st option :)

    2nd option can override other variables too i.e. see FAQ 31 & 39