Wednesday, 25 April 2012

Step by Step installation PHP 5.3 and PhpMyAdmin ?

1.PHP 5.3--installation steps...

    2  yum remove php*
    3  ls
    4  cd PHP-5.3/
    5  ls
    6  rpm -ivh php-5.3.3-2.el5.i386.rpm
    7  rpm -ivh php-cli-5.3.3-2.el5.i386.rpm
    8  rpm -ivh lib*
    9  rpm -ivh libedit-20090923-3.0_1.el5.rf.i386.rpm
   10  rpm -ivh php-common-5.3.3-2.el5.i386.rpm
   11  rpm -ivh php-cli-5.3.3-2.el5.i386.rpm
   12  rpm -ivh php-5.3.3-2.el5.i386.rpm
   13  rpm -ivh php-bcmath-5.3.3-2.el5.i386.rpm
   14  ls
   15  rpm -ivh php-dba-5.3.3-2.el5.i386.rpm
   16  rpm -ivh php-devel-5.3.3-2.el5.i386.rpm
   17  rpm -ivh php-embedded-5.3.3-2.el5.i386.rpm
   18  rpm -ivh enchant-1.3.0-1.el5.rf.i386.rpm
   19  rpm -ivh php-enchant-5.3.3-2.el5.i386.rpm
   20  rpm -ivh php-gd-5.3.3-2.el5.i386.rpm
   21  rpm -ivh t1lib-5.1.0-9.el5.kb.i386.rpm
   22  rpm -ivh php-gd-5.3.3-2.el5.i386.rpm
   23  rpm -ivh php-imap-5.3.3-2.el5.i386.rpm
   24  rpm -ivh libc-client-2004g-2.2.1.i386.rpm
   25  rpm -ivh php-imap-5.3.3-2.el5.i386.rpm
   26  ls
   27  rpm -ivh php-intl-5.3.3-2.el5.i386.rpm
   28  rpm -ivh php-ldap-5.3.3-2.el5.i386.rpm
   29  rpm -ivh php-mbstring-5.3.3-2.el5.i386.rpm
   30  rpm -ivh php-mcrypt-5.3.3-2.el5.i386.rpm
   31  rpm -ivh libmcrypt-2.5.8-4.el5.centos.i386.rpm
   32  rpm -ivh php-mcrypt-5.3.3-2.el5.i386.rpm
   33  rpm -ivh php-mssql-5.3.3-2.el5.i386.rpm
   34  ls
   35  ls
   36  rpm -ivh php-pdo-5.3.3-2.el5.i386.rpm
   37  rpm -ivh php-mssql-5.3.3-2.el5.i386.rpm
   38  rpm -ivh freetds-0.64-11.el5.centos.i386.rpm
   39  rpm -ivh php-mssql-5.3.3-2.el5.i386.rpm
   40  rpm -ivh php-mysql-5.3.3-2.el5.i386.rpm
   41  rpm -ivh php-odbc-5.3.3-2.el5.i386.rpm
   42  rpm -ivh php-pgsql-5.3.3-2.el5.i386.rpm
   43  rpm -ivh php-process-5.3.3-2.el5.i386.rpm
   44  rpm -ivh php-pspell-5.3.3-2.el5.i386.rpm
   45  rpm -ivh php-snmp-5.3.3-2.el5.i386.rpm
   46  rpm -ivh php-soap-5.3.3-2.el5.i386.rpm
   47  rpm -ivh php-xml-5.3.3-2.el5.i386.rpm
   48  rpm -ivh php-xmlrpc-5.3.3-2.el5.i386.rpm
   49  rpm -ivh php-tidy-5.3.3-2.el5.i386.rpm
   50  rpm -ivh libtidy-0.99.0-16.20070615.el5.kb.i386.rpm
   51  rpm -ivh php-tidy-5.3.3-2.el5.i386.rpm
   52  rpm -ivh php-zts-5.3.3-2.el5.i386.rpm

service restart:
   53  /etc/init.d/httpd start
   54  /etc/init.d/mysqld start

***PHPMyadmin installation******

download the phpmyAdmin 3.4.0-english.tar.gz

copy this file into /var/www/html location, then

extract that tar file

#tar -xvzf phpmyAdmin 3.4.0-english.tar.gz

then...
   55  cd /var/www/html/
   56  ls
   57  mv phpMyAdmin-3.4.0-english/ phpmyadmin
   58  ls
   59  service httpd restart
   60  /etc/init.d/httpd restart

test:
Opne firefox-->http://localhost ---enter-------->shows gui console.....
then
   
   64  mysqladmin -u root password dotcom
   65  mysqladmin -u root -p
   66  mysql -u root -p
  
Uname:root
password:dotcom------->using to login phpmyadmin console
  
   75  chkconfig httpd on
   76  chkconfig mysqld on


No comments:

Post a Comment