Help setting up PHPmyAdmin

Posted July 22, 2015 3.4k views
Linux BasicsMySQLApachePHPGetting Started

OK so I’m on this part of the setup:

“ After the installation has completed, add phpmyadmin to the apache configuration.
sudo nano /etc/apache2/apache2.conf

Add the phpmyadmin config to the file.

Include /etc/phpmyadmin/apache.conf ”

…so I type sudo nano /etc/apache2/apache2.conf into the command line, it opens up a file. With nowhere to write that next command into

How am I supposed to add that in?

Whenever I open up ipname/phpmyadmin/ I get a 404 message

also whenever I restart apache I get this message:

AH00558: apache2: Could not reliably determine the server’s fully qualified domain name, using Set the ‘ServerName’ directive globally to suppress this message

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

Try adding: Include /etc/phpmyadmin/apache.conf
At the bottom of: /etc/apache2/apache2.conf

Then restart apache.