728x90

To install, first you must add the Webtatic EL yum repository information corresponding to your CentOS/RHEL version to yum:


CentOS/RHEL 7.x:


rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm

rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm



CentOS/RHEL 6.x:


rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

rpm -Uvh https://mirror.webtatic.com/yum/el6/latest.rpm



Now you can install PHP 5.6’s mod_php SAPI (along with an opcode cache) by doing:


yum install php56w php56w-opcache



You can alternatively install PHP 5.6’s php-fpm SAPI (along with an opcode cache by doing:


yum install php56w-fpm php56w-opcache



 


yum install php56w-mysql php56w-mysqlnd php56w-odbc php56w-pdo php56w-snmp php56w-soap php56w-xml php56w-mssql php56w-mcrypt  php56w-mbstring php56w-gd php56w-pecl-geoip php56w-pecl-imagick


 


yum install php56w-mysqlnd php56w-odbc php56w-pdo php56w-snmp php56w-soap php56w-xml php56w-mssql php56w-mcrypt  php56w-mbstring php56w-gd php56w-pecl-geoip php56w-pecl-imagick



728x90

+ Recent posts