This assumes your Red Hat Enterprise Linux 6 server has its license working:
shell# rhn_register --nox
First install the EPEL repository for RHEL6 (all one line):
shell# yum install http://download.fedora.redhat.com/pub/epel/6/i386/epel-release-6-5.noarch.rpm
Install PHP into your Red Hat EL6:
shell# yum install php
Visit the Red Hat website and get the php-devel packages and these various libmemcached files:
- php-devel (both i686 and x86_64)
- libmemcached (both i686 and x86_64)
- libmemcached-devel (both i686 and x86_64)
Download each of the above files and install them:
shell# yum install ./*.rpm
Then install the PHP packages that we need:
shell# yum install php-pecl-memcached php-pear
Restart your httpd (Apache2) service:
shell# service httpd restart
You can check this in a web browser by creating a file info.php containing the following code, and browsing to that to see what PHP extensions and the like are running:
<?php
phpinfo();
?>
It should look like this (and much more) when you visit that info.php page:
![]() |
| Click to embiggen |
Did this work out for you? Any suggestions? Please comment if this helps you and thanks for visiting!

0 comments:
Post a Comment