In previous post's i showed you how to install PhpMyAdmin on your Linux box (CentOs/Rhel) But few people asked me what if they dont have internet, because to install PhpMyAdmin via YUM you need to configure EPEL repositories on your machine and then run the command yum install phpmyadmin. To add EPEL from fedora.com you must have internet  connection.  Today I'll show you install PhpMyAdmin without internet.

  • First Download latest package from PhpMyAdmin website.
  • Unzip the package, in this example i keep it undet /var/php_myadmin folder.
  • Now we have to create a configuration file under /etc/httpd/conf.d/myadmin.conf

[root@manny ~]# vi /etc/httpd/conf.d/myadmin.conf

Alias /phpmyadmin /var/php_myadmin
<Directory /var/php_myadmin>
Options Indexes
Order allow,deny
Allow from localhost 127.0.0.1 192.168.85.0
</Directory>

[root@manny ~]# /etc/init.d/httpd restart

In the above configuration file /phpmyadmin is the word you have to enter the browser ex: http://localhost/phpmyadmin , /var/php_myadmin is the folder name where you extract the downloaded phpmyadmin package from the website.

That all you need to do, open firefox , enter http://localhost/phpmyadmin and hit enter. Give your server root credentials to log in to phpmyadmin.