PHP-My-Admin

Discussion in 'General' started by ggomez, Dec 23, 2008.

  1. ggomez

    Joined:
    Dec 16, 2008
    Messages:
    5
    Likes Received:
    0
    I can't install this module PHPMyAdmin. How to installed?
     
  2. wiseoldowl

    Joined:
    Aug 19, 2008
    Messages:
    251
    Likes Received:
    0
    Did you happen to notice the little text box at the top of the page that says "Search Forum"? Had you used it, you might have found this thread:

    http://www.elastix.org/index.php?option ... 65&catid=3

    (Not trying to be a jerk about it, but good grief, it would have been easier in this case to do the search than to type out the question!)
     
  3. haamed

    Joined:
    Jul 23, 2007
    Messages:
    251
    Likes Received:
    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:
     
  4. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
  5. MST

    MST

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

    MST
     
  6. MST

    MST

    Joined:
    Sep 25, 2009
    Messages:
    317
    Likes Received:
    0
    I believe this is the problem: Fix the permissions to asterisk:asterisk
     
  7. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    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?)
     
  8. MST

    MST

    Joined:
    Sep 25, 2009
    Messages:
    317
    Likes Received:
    0
    I quess I don't have a choice .... another long night ....

    Cheers,
     
  9. MST

    MST

    Joined:
    Sep 25, 2009
    Messages:
    317
    Likes Received:
    0
    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
     
  10. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    Indeed, it really is just a matter of RTFM in 99.9% of most anything, no?
     
  11. rafael

    Joined:
    May 14, 2007
    Messages:
    1,454
    Likes Received:
    1
    Also, always remember to be carefull with phpmyadmin. REmember that Elastix mysql root password is public.

    Regards,

    Rafael
     
  12. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    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
     
  13. ramoncio

    Joined:
    May 12, 2010
    Messages:
    1,663
    Likes Received:
    0
    deny from allow ??
     
  14. dicko

    Joined:
    Oct 24, 2008
    Messages:
    4,099
    Likes Received:
    0
    :) :) ow! no ow

    (deny from all)
     
  15. vperez69

    Joined:
    Sep 2, 2010
    Messages:
    71
    Likes Received:
    0
    Re: Re:pHPMyAdmin

    haamed:

    you are a Godsend.

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

Share This Page