After I install phpmyadmin with “sudo apt-get install phpmyadmin”, how do I set the server block in nginx configuration?
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!
There’s a tutorial for getting a LEMP stack up and running: <br> <br>https://www.digitalocean.com/community/articles/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-12-04 <br> <br>In that tutorial, you’ll get MySql and php set up to work with Nginx. There’s also a quick tutorial on getting phpMyAdmin working with the LEMP stack here: <br> <br>https://www.digitalocean.com/community/articles/how-to-install-phpmyadmin-on-a-lemp-server/
It sounds like you already did it. What’s the output of: <br> <br><pre> <br>ls /usr/share/nginx/www/phpmyadmin <br></pre> <br> <br>Have you tried to access http://your.ip.address/phpmyadmin ?
Thanks for the hint, but there is no luck. <br>“ls /usr/share/nginx/www/phpmyadmin” got lots of files listed. <br> <br>When I enter http://my_ip/phpmyadmin <br> <br>The error message shows up as, <br> <br>404 Not Found <br> <br>There must be something wrong. Should I set up something else? <br>
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.