Ispconfig and PHP / MySQL version

Discussion in 'Installation/Configuration' started by jims_a_winner, Sep 12, 2016.

  1. jims_a_winner

    jims_a_winner Member

    hi there,

    Just wondering if anyone has any insights of upgrading php and MySQL on ispconfig centos 7 servers.

    I'm trying to use magento and it won't support php less than version 5.6... I managed to build php 5.6 and 7.0 as additional versions and apply them. Now magento is happy with the PHP version but when it comes to MySQL it is asking for at least version 5.6.0.

    I setup a new virtual machine to install the latest ispconfig 3.1 on centos 7.2 and am faced with the same issue - trying to update mariadb version has not had any success.

    If anyone could shed some light on a safe way to update MySQL/MariaDB to at least version 5.6.0.

    Kind regards
    Jim
     
  2. florian030

    florian030 Well-Known Member HowtoForge Supporter

    you can install mysql 5.7 on centos 7.2
     
  3. jims_a_winner

    jims_a_winner Member

    Hi florian,

    Thanks for your response - is it possible to upgrade MySQL on a production box?

    I managed to add some seperate mariaDB repos and installed MariaDB 10 on a fresh install, I'm happy to reformat my 4 server multi server setup but will probably wait for release of ispconfig 3.1.

    Regards,
    Jim
     
  4. jims_a_winner

    jims_a_winner Member

    Just a quick follow up;
    I managed to install MariaDB 10.1 using the MariaDB repos.

    During the ISPConfig Perfect Server tutorial (Before installing MySQL!)

    Code:
    nano -w /etc/yum.repos.d/MariaDB.repo
    Put the following code in

    Code:
    # MariaDB 10.1 CentOS repository list - created 2016-09-13 10:34 UTC
    # http://downloads.mariadb.org/mariadb/repositories/
    [mariadb]
    name = MariaDB
    baseurl = http://yum.mariadb.org/10.1/centos7-amd64
    gpgkey=https://yum.mariadb.org/RPM-GPG-KEY-MariaDB
    gpgcheck=1
    
    Then use the yum installer to install the later version of MariaDB
     

Share This Page