How to Install PHP 5.4 and MySQL 5.5 in CentOS 6.4 via Yum

In CentOS, packages are stable but old version by default. when you want to use newer one, you need to install from source or add extra repository. so then Let’s add extra repositories and install newer php and mysql.