Hello Everyone,
First of all I'd like to thank everybody reading and helping out with my issue. Basically at the moment I have a VPS with a French hosting company called OVH. The max CentOS version they offer with plesk is CentOS6. At the moment I am running version 6.10 (Final), my current php version is 5.3.3 and I want to update this as obviously it's out of date and running out of support. As I am aware this version of CentOS dosen't support anything like PHP 7 and so I am wondering what is my best way to go around sorting my issue.
Kindest Reagrds
Curtis Holt
PHP on CentOS6
Re: PHP on CentOS6
Actually the 5.3.3 version of php that we ship on CentOS 6 is supported by Redhat until CentOS 6 goes EOL in 2020. Security fixes will get backported by Redhat to their version if required.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
-
- Posts: 2
- Joined: 2018/11/20 22:01:58
Re: PHP on CentOS6
RHEL 6 (and thus CentOS 6) is supported by Redhat until Nov 2020. It has gone into production phase 3 which means it now only gets critical security updates (and selected lower priority ones that Redhat care to issue) but it's still supported for most of the next 2 years.
I'm pretty sure that OVH do CentOS 7 as well but the limiting factor may be Plesk so perhaps you want to review why you want that and if you can do without.
I'm pretty sure that OVH do CentOS 7 as well but the limiting factor may be Plesk so perhaps you want to review why you want that and if you can do without.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: PHP on CentOS6
Hello;
Upgrading php version is a task which you can easily complete. You can use the following ssh commands to complete this task
this will show your existing php version
download Remi and EPEL Repository packages:
Install both previously downloaded packages and enable Remi PHP 7 repo:
install php
Alternatively, upgrade entire system with yum update command:
It's done. You are using the latest version of php
Upgrading php version is a task which you can easily complete. You can use the following ssh commands to complete this task
this will show your existing php version
Code: Select all
# php --version
Code: Select all
wget -q http://rpms.remirepo.net/enterprise/remi-release-7.rpm
wget -q https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
Code: Select all
# rpm -i remi-release-7.rpm epel-release-latest-7.noarch.rpm
FOR PHP 7.0 EXECUTE:
# yum-config-manager --enable remi-php70
FOR PHP 7.1 EXECUTE:
# yum-config-manager --enable remi-php71
FOR PHP 7.2 EXECUTE:
# yum-config-manager --enable remi-php72
Code: Select all
yum install php
Code: Select all
yum update