MySQL and PHP version upgrades

mariadb
php
v7

(James Nesbitt) #1

NethServer Version: v7
Module: MySQL and PHP

Is it possible to upgrade MySQL and PHP up a minor version to MySQL 5.6 and PHP v5.6.5?

I need to test Magento 2 and these would be the minimum system requirements to run Magento.

Also PHP 5.4 is a little dated.


When is php in nethserver going to be upgraded?
(Stéphane de Labrusse) #2

Short answer is : not safe

For php go to the wiki and install nethserver-php-scl

For mysql you can install the relevant software collection.

Now for an explanation it is the concept of a linux distribution, a collection of coherent software versions. You want a another one, upgrade the system or use the redhat software collection


(Eliezer Morais) #3

Hello!
I’m new here in the community and I need some help.
I have successfully installed the nethserver-php-scl package and am using php70 on a Vhost, however I need to enable pdo_sqlsrv.
would you know how to help me?


(Markus Neuberger) #4

Hi @Eliezer_Morais,

welcome to NethServer Community!

yum install php70-php-pdo should install the relevant extension but I think it’s already installed as requirement of nethserver-php-scl.

https://wiki.nethserver.org/doku.php?id=php-scl#install_php_rpms

https://wiki.nethserver.org/doku.php?id=php-scl#adjust_phpini

@fausp do you know how to make the pdo_sqlsrv extension work with MS SQL?


(Alessio Fattorini) #5

Hi Eliezer, did you resolve using @mrmarkuz suggestion? Providing a feedback would be great :slight_smile: