Category Archives: centos

Install IonCube Loader

Get the latest version of the ionCube Loader from http://ioncube.com 1. Download Ioncube Loader [root@esjeruk ~]# cd /tmp [root@esjeruk ~]# wget http://downloads.ioncube.com/loader_downloads/ioncube_loaders_lin_x86.tar.gz [root@esjeruk ~]# cd ioncube/ [root@esjeruk -]# mkdir /usr/local/lib/ioncube [root@esjeruk ~]# mv ioncube_loader_lin_5.0.so /usr/local/lib/ioncube/ 2. Now edit /etc/php.ini/ add this line and right at the beginning [root@esjeruk ~]# nano /etc/php.ini [PHP] zend_extension=/usr/local/lib/ioncube/ioncube_loader_lin_5.0.so [root@esjeruk ~]# [...]

Also posted in ioncube, php | 1 Comment

Upgrade PHP 5.1 to 5.2 in Centos

Step 1: Go to yum folder [root@esjeruk server]# cd /etc/yum.repos.d/ Step 2: Add new repo [root@esjeruk yum.repos.d]# vi C5.repo [c5-testing] name=CentOS-5 Testing baseurl=http://dev.centos.org/centos/$releasever/testing/$basearch/ enabled=1 gpgcheck=1 gpgkey=http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing includepkgs=php* Step 3 : Upgrade  [root@esjeruk server]# yum install httpd php php-mysql php-gd php-mbstring php-mcrypt mysql mysql-server Step 4 : Check Version [root@esjeruk server]# php -v PHP 5.2.10 (cli) [...]

Also posted in apache, php, upgrade | Leave a comment

How to convert RHEL 5 to Centos 5

Step 1 :  rpm -e –nodeps redhat-release Step 2 :  rpm -e –nodeps yum-rhn-plugin Step 3 : wget http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-5 Step 4 : rpm –import RPM-GPG-KEY-CentOS-5 Step 5 : rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/centos-release-notes-5.3-3.x86_64.rpm Step 6 : rpm -Uvh http://mirror.centos.org/centos/5/os/x86_64/CentOS/centos-release-5-3.el5.centos.1.x86_64.rpm Step 7 : wget http://mirror.centos.org/centos/5/os/x86_64/CentOS/yum-3.2.19-18.el5.centos.noarch.rpm Step 8 : yum clean all yum update

Also posted in RHEL | Leave a comment