Question

Help setting up PHPmyAdmin

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 127.0.1.1. Set the ‘ServerName’ directive globally to suppress this message


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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

Then restart apache.