RE: Centos 7 support
09-19-2014, 08:34 PM
(This post was last modified: 09-19-2014, 08:38 PM by Me.B.)
see in the code I posted above the second line here do it and select only the first major release
VERFULL=$(cat /etc/centos-release | sed 's/^.*release //;s/ (Fin.*$//')
VER=${VERFULL:0:1}
I can add VERMINOR=${VERFULL:0:3} that would return 6.5 / 7.0
I saw also you didn't notice the DB moved from mysql to mariaDB.
Cron job need a fix as the path is alike ubuntu and that's not right... Need a fix here PHP path would depend on linux version/ver.
M B
VERFULL=$(cat /etc/centos-release | sed 's/^.*release //;s/ (Fin.*$//')
VER=${VERFULL:0:1}
I can add VERMINOR=${VERFULL:0:3} that would return 6.5 / 7.0
I saw also you didn't notice the DB moved from mysql to mariaDB.
Cron job need a fix as the path is alike ubuntu and that's not right... Need a fix here PHP path would depend on linux version/ver.
M B
No support using PM (Auto adding to IGNORE list!), use the forum.
How to ask
10$ free to start your VPS
How to ask
10$ free to start your VPS