CentOS Linux Server Installation , FAQ, Tips and Tricks



Install Moodle2.x on  Centos 5.5

 

Upgrade PHP5.1x. to PHP5.2X

 

 Step1: Upgrade PHP5.1.x to PHP5.2.x
rpm --import http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing

 

Step2: Go to the yum repo
cd /etc/yum.repos.d

 

Step3: Download the  CentOS-Testing repo
wget http://dev.centos.org/centos/5/CentOS-Testing.repo

 

Step4: Update to PHP5.2.x

yum --disablerepo=* --enablerepo=c5-testing update php

 

Step5: Install extra package
 yum --disablerepo=* --enablerepo=c5-testing install php-xml

 

Step6: Restart Apache and make the Apache autostart
service httpd restart

chkconfig httpd on

 

Step7: Check Apache Syntax
httpd -t

 

Step8: verify setting
yum whatprovides php-dom
 

 

Step9:
php -v


PHP 5.2.10 (cli) (built: Nov 13 2009 11:24:03)
Copyright (c) 1997-2009 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies

 

 




Back to Moodle Installation on CentOS Linux




Creative Commons License
CentOS Server Guide by http://www.1a-centosserver.com is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.

All trademarks are the property of their respective owners.

Contact Us  | Privacy Policy