How To Install PhpMyadmin From Source
In this Tutorial I will describe how to install phpmyadmin from source
First before we install phpmyadmin, we need to install few requirment before install phpmyadmin.
Requirment to install PHPmyadmin :
- libmcrypt
- php mcrypt extension
- php mbstring extension
Compiling libmcrypt
#cd /root
#wget -c
'http://easynews.dl.sourceforge.net/sourceforge/mcrypt/libmcrypt-2.5.7.tar.gz'
#gunzip libmcrypt-2.5.7.tar.gz
#tar -xvf libmcrypt-2.5.7.tar
#cd libmcrypt-2.5.7
#./configure --disable-posix-threads
#make && make install
Config mcrypt extension for PHP5
#cd /root
#cd php-5.2.10/ext/mcrypt/
#phpize ; aclocal
#./configure
#make && make install
#vi /usr/local/lib/php.ini
#Add or Edit the following line#
extension_dir =
"/usr/local/lib/php/extensions/no-debug-non-zts-20060613/
extension=mcrypt.so
Config mbstring extension for PHP5
#cd /root
#cd php-5.2.10/ext/mbstring/
#phpize ; aclocal
#./configure
#make && make install
#vi /usr/local/lib/php.ini
#Add or Edit the following line#
extension=mbstring.so
Install PHPMyAdmin
#cd /root
#wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/2.11.10/phpMyAdmin-2.11.10-english.tar.gz?use_mirror=cdnetworks-us-2&ts=1279762815
#tar -zxvf phpMyAdmin-2.11.10-english.tar.gz
#mv phpMyAdmin-2.11.10-english.tar.gz /usr/local/apache2/htdocs/phpmyadmin
#cd /usr/local/apache2/htdocs/phpmyadmin
#cp config.sample.inc.php config.inc.php
#vi config.inc.php
## type blowfish_secret ( you can just simple type anything there ) ##
$cfg['blowfish_secret'] = 'fdf943893h8fhu1imvzpe9';
Restart Your Apache Webserver
#/usr/local/apache2/bin/apachectl restart
Testing PhpMyAdmin
Open your browser ex Mozilla Firefox
Enter your website ip/url like sample below
Recent blog posts |
Recent comments
|
Comments
Post new comment