I pre-installed LAMP with my droplet and then i opened terminal and put in “sudo apt-get install phpmyadmin” and it ran like it was working right. I hit y to confirm and then i restarted my droplet and tried to access /phpmyadmin on my server and it says “The requested URL /phpmyadmin was not found on this server.” I did indeed install it on apache 2 as i have seen some articles about that. Any details why i cannot access it?
Regards, Jarrod
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!
I face the same problem and i do not find phpmyadmin config file in path :etc/apache2/conf-enabled
(The installation process actually adds the phpMyAdmin Apache configuration file into the /etc/apache2/conf-enabled/ directory, where it is automatically read.)
This info helped me:
Warning: When the first prompt appears, apache2 is highlighted, but not selected. If you do not hit Space to select Apache, the installer will not move the necessary files during installation. Hit Space, Tab, and then Enter to select Apache.
Did you remember to tick the apache2 option in the installation wizard? It’s not the most user friendly interface, so it’s easy to make a mistake there.
You should have a phpMyAdmin configuration located in /etc/apache2/conf-enabled/ if the installation was successful - and you shouldn’t need to restart the entire server, it should be enough by restarting Apache.
If you want to reinstall and see the configuration wizard again, you need to remove and purge your current installation of phpMyAdmin first:
sudo apt-get --purge remove phpmyadmin
You can read more in this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-on-ubuntu-16-04
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.