Error while installing MySQL on RedHat Linux
I will recommend to move from php-mysql to php-mysqlnd (which provides the same set of extensions: mysql, mysqli and pdo_mysql), and thus, get rid of dependency on libmysqlclient:

# yum shell --enablerepo=remi
&gt; remove php-mysql
&gt; install php-mysqlnd
&gt; run


Notice: PHP 5.4 is now EOL, I also recommend to upgrade to 5.5 or 5.6. And 5.4 is also the last version to provides php-mysql, newer RPM versions only have php-mysqlnd.