PHP-My-Admin

Joined
Jul 23, 2007
Messages
251
Points
0
#####phpmyadmin####

A) Run Commands:

cd /var/www/html/modules
mkdir dbadmin

B) unpacking the phpMyAdmin & copy the entire content to /var/www/html/modules/dbadmin

C) Create a text file called config.inc.php in /var/www/html/modules/dbadmin

D) Populate the text file with the following:

<?php
/* Servers configuration */
$i = 0;
/* Server localhost (config:root) [1] */
$i++;
$cfg['Servers'][$i]['host'] = 'localhost';
$cfg['Servers'][$i]['extension'] = 'mysql';
$cfg['Servers'][$i]['connect_type'] = 'tcp';
$cfg['Servers'][$i]['compress'] = false;
$cfg['Servers'][$i]['auth_type'] = 'http';
$cfg['Servers'][$i]['user'] = 'root';
$cfg['Servers'][$i]['password'] = 'eLaStIx.2oo7';
/* End of servers configuration */
?>


E) log on PhpMyAdmin with address: http://<your.elastix.address>/modules/dbadmin

F) User:root Pass: eLaStIx.2oo7

:side: :woohoo: :kiss:
 

MST

Joined
Sep 25, 2009
Messages
317
Points
16
I have "PHP 5.2+ is required" after I fallowing this guide. Do I need speciall permision for the whole folder?

MST
 

MST

Joined
Sep 25, 2009
Messages
317
Points
16
I believe this is the problem: Fix the permissions to asterisk:asterisk
 
Joined
Oct 24, 2008
Messages
4,099
Points
0
You need to actually read (and understand) the phpmyadmin download page.

php -v

might give you a clue. (There are plenty of hits for phpmyadmin from the search box also, did you try reading them too?)
 

MST

Joined
Sep 25, 2009
Messages
317
Points
16
I quess I don't have a choice .... another long night ....

Cheers,
 

MST

Joined
Sep 25, 2009
Messages
317
Points
16
Right dicko "Since version 3.0.0, phpMyAdmin joined the GoPHP5 initiative and dropped compatibility code for older PHP and MySQL versions; version 3 and later requires at least PHP 5.2 and MySQL 5." It is just on the front page ..It works now like a charm .... anyway I will better read to understand that stuff

Shame on me .... :S :X

Best Regards,

MST
 
Joined
Oct 24, 2008
Messages
4,099
Points
0
Indeed, it really is just a matter of RTFM in 99.9% of most anything, no?
 
Joined
May 14, 2007
Messages
1,454
Points
0
Also, always remember to be carefull with phpmyadmin. REmember that Elastix mysql root password is public.

Regards,

Rafael
 
Joined
Oct 24, 2008
Messages
4,099
Points
0
Absolutely Rafael,

If you allow public access to your web server be very careful to deploy .htaccess very specifically
or better yet in /etc/httpd/conf/httpd.conf

order deny,allow
deny from allow
allow from <your allowed networks>

dicko
 
Joined
Sep 2, 2010
Messages
71
Points
0
Re: Re:pHPMyAdmin

haamed:

you are a Godsend.

This post was exactly what I needed. Thank you, thank you, thank you.
 

Members online

No members online now.

Latest posts

Forum statistics

Threads
30,987
Messages
131,100
Members
17,716
Latest member
Orbit114
Top