install MySQL 5.7 on CentOS 5.6 or 7

I'm using the Virtualmin. Is it possible to install MySQL 5.7 on CentOS 5.6 or 7?

Status: 
Active

Comments

Howdy -- we don't have a documented or officially supported way of doing this at the moment. It's not as simple a process as installing a second PHP version.

That said, if we were going to do it, we would do so by installing another Mysql/MariaDB version from the SCL repository.

I'll be looking into this process and reviewing whether it's something we can officially support, and the possibility of having documentation for it. But we don't have anything official yet.

I want to install Magento 2.0. I need the following:

Database

MySQL 5.6 (Oracle or Percona)

PHP

5.6.x 5.5.x 7.0.2 (supported by Magento version 2.0.1 and later only)

Unfortunately there isn't a simple way to get that combination of software at the moment. The next distro to make a release will likely contain those (I think that's Ubuntu 16.04, but we won't be seeing that until April). I know that doesn't help you now though.

You can use this documentation here to install another PHP version, such as PHP 7, from the SCL repository:

https://www.virtualmin.com/documentation/web/multiplephp

That same repository allows you to install an alternate MySQL/MariaDB version. However, using that isn't completely straight forward, and we don't have instructions for that at this time.

You could always try that out on a test server though to experiment with setting it up.

Earlier I was under the impression that PHP 7 was included in the SCL repository.

But it turns out that is not the case. It has not been put there yet.

There are PHP 7 versions out there in third party repositories, but we haven't tested any of them, and we don't currently have any formal support for them.

Hopefully they'll be adding PHP 7 into the repository soon.

In the meantime, I'll look into some alternative methods of installing that to see if they're something we can support (or at least recommend).

Joe's picture
Submitted by Joe on Wed, 01/27/2016 - 19:02 Pro Licensee

Oddly, there was a PHP 7 SCL repo. I used it on one of our servers. But, it's not showing up in the list now!

I'm not sure what to make of that. Maybe there was a quality or security issue that required them to take it down. We have tested the PHP 7 that was in SCL, but now that it's gone, I'm not sure what to recommend.