Posts

Showing posts with the label CentOS

How to install phpMyAdmin in centos 5.x

In this Section of tutorial you will learn How to install phpMyAdmin in centos 5.4? & How to rectify common installation errors. First try to search package for PhpMyadmin by executing command "yum search phpMyAdmin"  ; if there is no showing phpMyAdmin packet we must install epel package. • rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm • yum install phpmyadmin • after installation visit to : http://192.168.1.1/phpMyAdmin/ • Edit the “root” user with password “password” on php my admin, then Login with username root and password “password”. • Edit the phpmyadmin.conf ; on /etc/httpd/conf.d/phpMyAdmin.conf You will see a lines like below, Comment Line deny from all Alias /phpMyAdmin /usr/share/phpMyAdmin Alias /phpmyadmin /usr/share/phpMyAdmin Directory /usr/share/phpMyAdmin/ order deny,allow #deny from all allow from 127.0.0.1 allow from 192.168.2.0/24 allow from ::1 /Directory

How to upgrade PHP 5.1 to PHP 5.3 using yum on CentOS

This information explains how to update the standard PHP 5.1.x packages in CentOS 5.x 32-bit to the current development versions 5.3.x. These guidelines were designed using CentOS 5.5 32-bit and with the following PHP packages installed: # rpm -qa |grep php php-common-5.1.6-15.el5.i386 php-cli-5.1.6-15.el5.i386 php-5.1.6-15.el5.i386 php-pdo-5.1.6-15.el5.i386 php-bcmath-5.1.6-15.el5.i386 php-ldap-5.1.6-15.el5.i386 php-devel-5.1.6-15.el5.i386 php-gd-5.1.6-15.el5.i386 php-xml-5.1.6-15.el5.i386 php-mbstring-5.1.6-15.el5.i386 php-mysql-5.1.6-15.el5.i386 php-dba-5.1.6-15.el5.i386 Provided that you're using the standard PHP packages on your CentOS server you won't need to do anything additional. If you're using additional PHP packages that aren't part of the standard CentOS repositories (like php-mcrypt) you'll have to remove them or find out updated versions of them. Add the Atomic repositories First thing we need to do is add the atomic repos...