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
200$ free to start your VPS 60 days credit
How to ask
200$ free to start your VPS 60 days credit