How to install PhpMyadmin

Here I will show you how to install PhpMyAdmin and make it work with your ISP Manager

Go to

cd /usr/local/src/

We need to download version which including all languages

wget http://sourceforge.net/projects/phpmyadmin/files/phpMyAdmin/3.5.6/phpMyAdmin-3.5.6-all-languages.tar.gz/download

 

 

tar -xvf phpMyAdmin-3.5.6-all-languages.tar.gz
mv phpMyAdmin-3.5.6-all-languages phpmyadmin
mv phpmyadmin /usr/share/
cd /usr/share/phpmyadmin/
cp config.sample.inc.php config.inc.php
vi config.inc.php

Changing line from the

$cfg[‘Servers’][$i][‘auth_type’] = 'cookie';

to

$cfg[‘Servers’][$i][‘auth_type’] = 'http';

Renaming or removing old configuration file if exist and creating new one configuration file for phpmyadmin

mv /etc/httpd/conf.d/phpmyadmin.conf /etc/httpd/conf.d/phpmyadmin.conf_old
echo "alias /myadmin /usr/share/phpmyadmin" > /etc/httpd/conf.d/phpMyAdmin.conf

Next steps we are doing needful change for configuration file of ISP Manager

/usr/local/ispmgr/etc/ispmgr.conf

from

path pma.conf  /usr/share/phpMyAdmin/config.inc.php

to

path pma.conf  /usr/share/phpmyadmin/config.inc.php
service httpd restart

Enjoy

Similar Posts:

    None Found

2 comments on “How to install PhpMyadmin

  1. phpMyAdmin INSTALLATION

    [root@sever Desktop]# download phpmyadmin version "phpMyAdmin-3.5.8.2-all-languages.tar" or  "phpMyAdmin-4.1.2-all-languages"

    [root@server html]# cp -rvf /root/Desktop/phpMyAdmin-3.5.1-english.tar.gz /var/www/html/   
    {COPY phpMyAdmin.tar in /var/www/html}

    [root@server html]# cd /var/www/html

    [root@server html]# tar -xvf phpMyAdmin-3.5.1-english.tar.gz

    [root@server html]# rm -rvf phpMyAdmin-3.5.1-english.tar.gz

    [root@server html]# mv phpMyAdmin-3.5.1-english/ phpmyadmin

    [root@server html]# chmod -R 755 phpmyadmin

    [root@server html]# cd phpmyadmin/

    [root@server phpmyadmin]# cp config.sample.inc.php config.inc.php

    [root@server phpmyadmin]# vim config.inc.php
    Do LINE NO.29 $cfg['Servers'][$i]['auth_type'] = 'http';   
    {CHANGE COOKIE TO HTTP}

    [root@server phpmyadmin]# vim /etc/httpd/conf.d/phpmyadmin.conf

    Alias /phpmyadmin /var/www/html/phpmyadmin.conf
    <Directory /var/www/html/phpmyadmin>
    Options Indexes
    Order allow,deny
    Allow from localhost 127.0.0.1 192.168.0.150
    </Directory>

    My java version in my centos 6.4 64bit
    java 1.7.0_25

    mysql version 5.1.66 in my centos 6.4 64bit

     when i try to open the localhost/phpMyAdmin page i have the directory tree and not the welcome page…. also if i go to page localhost/phpMyAdmin/index.php i got a page with php and html code.. the code of index.php..
    do you have any suggestion for me? i miss any package?

     

    sir first I was try to install yum, and i had download latest epel rpm and i had install epel
    but after install epel when i install phpmyadmin by yum "yum install php phpmyadmin -y
    then i get error,
    package is not availabe, and some erorr caused of epel

     

    I have no internet where i update any repositry,
    I want to configure phpmyadmin withour internet, so i am try to install phpmyadmin by tar.gz file.
    SIr Please assist me!
    please resolve my problem

    Thank you very much

Leave a Reply

Your email address will not be published. Required fields are marked *