Results 1 to 10 of 10

Thread: Problem installing phpmyadmin

  1. #1
    Join Date
    Dec 2010
    Beans
    13

    Problem installing phpmyadmin

    Hi there I am new to Ubuntu and PHP, so would really appreciate some help with something I am having trouble with!

    I have just installed LAMP in Ubuntu from Terminal, but am having some problems. I can veiw files by putting "localhost" in the browser, but cant get phpmyadmin. I installed it using:

    sudo apt-get install libapache2-mod-auth-mysql php5-mysql phpmyadmin
    (I followed the steps here under "Install My SQL": http://www.howtoforge.com/ubuntu_lamp_for_newbies

    but when I point to localhost/phpmyadmin in the browser it says it cant be found?!

    I would really appreciate any help!

    Thanks

  2. #2
    Join Date
    May 2007
    Location
    michigan
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Problem installing phpmyadmin

    phpmyadmin needs to be configured before it can be run. Look here -

    http://www.phpmyadmin.net/documentation/

    Hope this helps -
    we don't see things as they are, we see them as we are.
    -- anais nin

  3. #3
    Join Date
    Oct 2010
    Beans
    659

    Re: Problem installing phpmyadmin

    In ubuntu by default, phpmyadmin is installed in /etc/phpmyadmin Setting a symbolic link should help you. The command would be as follows :

    $sudo ln -s /etc/phpmyadmin /var/www/phpmyadmin

    After this, open http://localhost/phpmyadmin in browser and it should work.

  4. #4
    Join Date
    Dec 2010
    Beans
    13

    Re: Problem installing phpmyadmin

    Quote Originally Posted by neo_aryan View Post
    In ubuntu by default, phpmyadmin is installed in /etc/phpmyadmin Setting a symbolic link should help you. The command would be as follows :

    $sudo ln -s /etc/phpmyadmin /var/www/phpmyadmin

    After this, open http://localhost/phpmyadmin in browser and it should work.
    thanks for your reply

    doesn't seem to work though...It returns "sudo: In: command not found"
    Last edited by _Cathy_; March 8th, 2011 at 09:06 PM.

  5. #5
    Join Date
    Oct 2010
    Beans
    659

    Re: Problem installing phpmyadmin

    Quote Originally Posted by _Cathy_ View Post
    thanks for your reply

    doesn't seem to work though...It returns "sudo: In: command not found"
    no its without $..$signifies the prompt here

  6. #6
    Join Date
    Feb 2010
    Location
    In My Food Forest
    Beans
    9,318

    Re: Problem installing phpmyadmin

    Code:
    sudo ln -s /etc/phpmyadmin /var/www/phpmyadmin
    Cheers & Beers, uRock
    [SIGPIC][/SIGPIC]

  7. #7
    Join Date
    Jul 2009
    Beans
    516
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Problem installing phpmyadmin

    You shouldn't need to do that as the phpmyadmin apache configuration file contains
    Code:
    Alias /phpmyadmin /usr/share/phpmyadmin
    which maps the php code into the web space.
    /etc/phpmyadmin contains the configuration files for phpmyadmin, it's not the main installation point.

    OP: did you restart apache after installing phpmyadmin?
    Mark your thread as [SOLVED], use Thread Tools on forum page.

  8. #8
    Join Date
    Dec 2010
    Beans
    13

    Re: Problem installing phpmyadmin

    Quote Originally Posted by uRock View Post
    Code:
    sudo ln -s /etc/phpmyadmin /var/www/phpmyadmin
    doesnt do anything...?
    EDIT: actually, now when I go to localhost/phpmyadmin I get an Index of /phpmyadmin with links to the files in the folder..

    Quote Originally Posted by btindie View Post
    OP: did you restart apache after installing phpmyadmin?
    yes- I did the last 5 steps in the link I posted in the OP
    Last edited by _Cathy_; March 8th, 2011 at 10:10 PM.

  9. #9
    Join Date
    Sep 2010
    Beans
    5

    Re: Problem installing phpmyadmin

    I am having the exact same problem. Installed LAMP successfully, using apt-get on Ubuntu running in VirtualBox on a MACBook Pro.

    All except phpMyAdmin....the installation completed successfully, but I cannot access phpMyadmin via http://localhost/phpMyAdmin.

    I have tried do the symbolic link as suggested, and I, too am getting nothing but a directory list. I was disappointed that there were no further posts about this problem.

    Is there anyone checking these posts that could assist?

    I've tried about a million other remedies, and uninstalled and reinstalled numerous times.

    Thanks in advance, and Oh, BTW....how do I undo the symbolic link I created, since it does not seem to be the correct solution.

  10. #10
    Join Date
    May 2007
    Location
    michigan
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Problem installing phpmyadmin

    Have either of you read the install documentation posted earlier?

    phpmyadmin has to be configured before it'll run.
    we don't see things as they are, we see them as we are.
    -- anais nin

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •