リポジトリを追加する
sudo yum install epel-release -y
sudo rpm -Uvh http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
PHPをインストールする
sudo yum install --enablerepo=remi,remi-php56 php php-devel php-pear php-mbstring php-pdo php-gd php-zip php-xml php-mcrypt php-mysqlnd -y
xdebugをインストールする
sudo yum install --enablerepo=remi,remi-php56 php-pecl-xdebug php-pecl-xhprof -y