-
Notifications
You must be signed in to change notification settings - Fork 2
Sysadmin papilusion phpmyadmin 24 07 2012
yannouk edited this page Jul 24, 2012
·
1 revision
- user : root
- host : papilusion.reverse.seizam.com
- date : 24/07/12 10:43
- curpath : /usr/share/phpmyadmin
[email protected]# apt-get remove phpmyadmin [email protected]# rmdir /usr/share/phpmyadmin/ [email protected]# mkdir /root/pma_install [email protected]# cd /root/pma_install [email protected]# wget http://downloads.sourceforge.net/project/phpmyadmin/phpMyAdmin/3.5.1/phpMyAdmin-3.5.1-all-languages.tar.gz?r=http%3A%2F%2Fwww.phpmyadmin.net%2Fhome_page%2Fdownloads.php&ts=1339145624&use_mirror=freefr [email protected]# mv phpMyAdmin-3.5.1-all-languages.tar.gz?r=http:%2F%2Fwww.phpmyadmin.net%2Fhome_page%2Fdownloads.php pma.tar.gz [email protected]# tar -xvf pma.tar.gz [email protected]# rm pma.tar.gz [email protected]# mv /root/pma_install/phpMyAdmin-3.5.1-all-languages/ /root/pma_install/pma [email protected]# mv /root/pma_install/pma /usr/share/phpmyadmin [email protected]# chgrp -R www-data /usr/share/phpmyadmin/ [email protected]# chmod -R 750 /usr/share/phpmyadmin/
- Edit /usr/share/phpmyadmin/config.inc.php, see [1]
[email protected]# /etc/init.d/apache2 restart
[1]\* Edit /usr/share/phpmyadmin/config.inc.php
--- old 2012-07-24 10:50:38.000000000 +0000 +++ new 2012-07-24 10:54:41.000000000 +0000 @@ -0,0 +1,38 @@ +<?php +/* + * Generated configuration file + * Generated by: phpMyAdmin 3.5.1 setup script + * Date: Fri, 08 Jun 2012 11:41:45 +0200 + */ + +/* Servers configuration */ +$i = 0; + +/* Server: Papilusion [1] */ +$i++; +$cfg['Servers'][$i]['verbose'] = 'Papilusion'; +$cfg['Servers'][$i]['host'] = 'localhost'; +$cfg['Servers'][$i]['port'] = ''; +$cfg['Servers'][$i]['socket'] = ''; +$cfg['Servers'][$i]['connect_type'] = 'socket'; +$cfg['Servers'][$i]['extension'] = 'mysqli'; +$cfg['Servers'][$i]['auth_type'] = 'cookie'; +$cfg['Servers'][$i]['user'] = 'root'; +$cfg['Servers'][$i]['password'] = ''; + +/* End of servers configuration */ + +$cfg['blowfish_secret'] = 'a_secret_key'; +$cfg['UploadDir'] = ''; +$cfg['SaveDir'] = ''; +$cfg['UserprefsDeveloperTab'] = true; +$cfg['Error_Handler']['display'] = true; +$cfg['Error_Handler']['gather'] = true; +$cfg['VersionCheck'] = false; +$cfg['ShowPhpInfo'] = true; +$cfg['ProtectBinary'] = 0; +$cfg['LightTabs'] = true; +$cfg['PropertiesIconic'] = true; +$cfg['DefaultLang'] = 'en'; +$cfg['ServerDefault'] = 1; +?>