I created a droplet with LEMP app with Ubuntu 14.04.
After that I wanted to install phpmyadmin .
I ran these codes by following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-and-secure-phpmyadmin-with-nginx-on-an-ubuntu-14-04-server
sudo apt-get update
sudo apt-get install phpmyadmin
Then I got a prompt to choose which server I would like to configure; then I push the tab button skip this step.
And then… I got these error and stopped working.
apache2_switch_mpm Switch to prefork
* Restarting web server apache2 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
(98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
Action 'start' failed.
The Apache error log may have more information.
I tried and tried again but nothing happened. Could you please someone help me?
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!
When you install PHPMyAdmin via apt-get it also installs Apache as a dependency. But Nginx is already running and using port 80 so Apache is unable to start. Ignore that error and make sure Apache doesn’t attempt to start itself during an OS reboot:
sudo update-rc.d -f apache2 remove
Follow the rest of the instructions in that article and PHPMyAdmin should work.
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.