Results 1 to 10 of 10

Thread: Installing PHPMyAdmin

  1. #1
    Join Date
    Mar 2013
    Beans
    12

    Installing PHPMyAdmin

    Here are my instructions: "You will need to download, read, and follow the instructions to install phpMyAdmin... Include in your httpd.conf file a section for the phpMyAdmin directory to password protect it so that any valid user can access it."

    I've found instructions on installing PHPMyAdmin, but none of them include an httpd.conf file.

    I found some instructions here on how to do it:
    https://www.digitalocean.com/communi...n-ubuntu-12-04

    I also found these instructions:
    http://www.webrichsoftware.com/?p=16

    The bottom article actually has the apt-get command I'm supposed to use sudo apt-get install libapache2-mod-auth-mysql phpmyadmin. The first one just uses sudo apt-get install phpmyadmin. I really don't know what the difference is, but the first one also has some info on security even though its not applied to httpd.conf.

    Thanks very much!

  2. #2
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Installing PHPMyAdmin

    httpd.conf is a configuration file used by the Apache HTTP Server. It stores information on various functions of the server, which can be edited by removing or adding a number sign "#" at the beginning of the line, thus setting values for each directive.

    As for the installation, you can follow this.

  3. #3
    Join Date
    Mar 2013
    Beans
    12

    Re: Installing PHPMyAdmin

    Thanks! My httpd.conf is empty. I saw online where someone just added a DIRECTORY container and put some directives the same as say 000-default.

    I was told to use sudo apt-get install libapache2-mod-auth-mysql phpmyadmin.
    What's the difference between that and sudo apt-get install phpmyadmin?

    I don't know enough to risk messing anything up.

    Thanks!

  4. #4
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Installing PHPMyAdmin

    Quote Originally Posted by Maurices5000 View Post
    I was told to use sudo apt-get install libapache2-mod-auth-mysql phpmyadmin.
    What's the difference between that and [B] [B]sudo apt-get install phpmyadmin?
    The first installs both a mod for apache that lets it use mysql and phpmyadmin. The second only installs phpmyadmin.
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.

  5. #5
    Join Date
    Mar 2013
    Beans
    12

    Re: Installing PHPMyAdmin

    Thanks for the clarification!

    I looked in mods-available and I did not see phpMyadmin. Is that normal? am I doing something wrong? What should i do?

    Sorry if my questions seem a bit stupid. Where do i run these commands?

    Thanks
    Last edited by Maurices5000; March 19th, 2013 at 05:49 AM.

  6. #6
    Join Date
    Jun 2007
    Location
    Porirua, New Zealand
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: Installing PHPMyAdmin

    Some basic information about installing and using phpmyadmin with Ubuntu 12.04 can be found at https://help.ubuntu.com/12.04/server...hpmyadmin.html - most of the commands for installation are run from the server's command line.

    I don't phpmyadmin myself, but understand from the web page I just linked to that once it's installed, you access phpmyadmin from a browser, using http://servername/phpmyadmin, replacing serveranme with the server's actual hostname.
    Forum DOs and DON'Ts
    Never assume that information you find using a search engine is up-to-date.

  7. #7
    Join Date
    Mar 2013
    Beans
    12

    Re: Installing PHPMyAdmin

    so the server's command line is that /etc/apache2?

  8. #8
    Join Date
    Mar 2013
    Beans
    12

    Re: Installing PHPMyAdmin

    i think i got it running thanks

  9. #9
    Join Date
    Mar 2013
    Beans
    12

    Re: Installing PHPMyAdmin

    Ok if you guys can help me a little more on this. How do i know if it installed successfully? I got some successes and some failed messages. But i don't know if It was saying something failed or if it was just making a statement. I could not understand it. when i go to my ipaddress/phpmyadmin i get page not found

  10. #10
    Join Date
    Mar 2013
    Beans
    12

    Re: Installing PHPMyAdmin

    Found the answer at https://help.ubuntu.com/community/ApacheMySQLPHP

    f you get a 404 error upon visiting http://localhost/phpmyadmin: You will need to configure apache2.conf to work with Phpmyadmin.


    $ sudo gedit /etc/apache2/apache2.confInclude the following line at the bottom of the file, save and quit.


    $ Include /etc/phpmyadmin/apache.conf

    THANKS VERY MUCH GUYS!!!!

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
  •