repo

PHP 5.4.x on CentOS 6.5

PHP 5.4.x on CentOS 6.5

Quick copy and paste list of commands to get PHP 5.4 on CentOS boxes wget http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm sudo rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm Enable remi repo sudo nano /etc/yum.repos.d/remi.repo Update sudo yum update sudo yum info php Loaded plugins: fastestmirror, refresh-packagekit, security Loading mirror speeds from cached hostfile * base: mirror.optus.net * epel: fedora.mirror.serversaustralia.com.au * extras: ftp.swin.edu.au * remi: remi.kazukioishi.net * updates: ftp.swin.edu.au Available Packages Name : php Arch : x86_64 Version : 5.

CentOS 6.2 php-mcrypt and EPEL repo

You will find plenty of “how-to” tutorials, but usually with not working url to EPEL repo. So this is mine: yum install http://download.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-7.noarch.rpm yum update yum install php-mcrypt