I just installed php 5.6 in a test field and the normal cli php interpreter does not exist:
$ -> php -v
-bash: php: command not found
$ -> php56 -v
PHP 5.6.13 (cli) (built: Sep 3 2015 13:41:04)
If I try to do yum install php --enablerepo=remi, then it will try to install php 5.4.
So, it is obvious that php56 - cli the interpreter is, but I always used to simply gain phpvs php56. Is this a new norm or is there another step to install php56 on CentOS (6.7)? Is it as simple as creating a symbolic link?ln -s /usr/bin/php56 /usr/bin/php
Steps to upgrade:
$ -> yum remove php* --enablerepo=remi
$ -> yum install php56* --enablerepo=remi
thanks to Remi for pushing in the right direction, here is what my repo configuration looks like:
[upstream_remi54]
name=Remi - CentOS - $releasever/$arch
baseurl=http://mirrors.mediatemple.net/remi/enterprise/$releasever/remi/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://rpms.famillecollet.com/RPM-GPG-KEY-remi
[upstream_remi56]
name=Remi - CentOS - $releasever/$arch
baseurl=http://mirrors.mediatemple.net/remi/enterprise/$releasever/php56/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://rpms.famillecollet.com/RPM-GPG-KEY-remi
, PHP, . PHP 5.4 Roundcube Postfix Admin, , , , 5.4.