php56w-common conflicts with older version of php (Centos)
You should do
sudo yum install php56w php56w-common
...
instead of
sudo yum install php php-common
, ...
Using remi repository, you need to enable the repository matching the wanted version, so for 5.6:
yum-config-manager --enable remi-php56
Then use the usual yum command.