How To Install and Secure phpMyAdmin with Nginx

Many users require the functionality of a database system like MySQL, but interacting with the system solely from the MySQL command-line client requires familiarity with the SQL language. [phpMyAdmin](https://www.phpmyadmin.net) was created to allow users to interact with MySQL through an intuitive web interface running alongside a PHP development environment. In this guide, we’ll discuss how to install phpMyAdmin on top of an Nginx server, and how to configure the server for increased security.

CentOS

7

How To Install and Secure phpMyAdmin with Nginx on a CentOS 7 Server

Learn How To Install and Secure phpMyAdmin with Nginx on a CentOS 7 Server

Debian

9

How to Install and Secure phpMyAdmin with Nginx on a Debian 9 server

Learn How to Install and Secure phpMyAdmin with Nginx on a Debian 9 server

Ubuntu

20.04

How To Install and Secure phpMyAdmin with Nginx on an Ubuntu 20.04 Server

Learn How To Install and Secure phpMyAdmin with Nginx on an Ubuntu 20.04 Server
18.04

How to Install and Secure phpMyAdmin with Nginx on an Ubuntu 18.04 server

Learn How to Install and Secure phpMyAdmin with Nginx on an Ubuntu 18.04 server
16.04

How To Install and Secure phpMyAdmin with Nginx on Ubuntu 16.04

Learn How To Install and Secure phpMyAdmin with Nginx on Ubuntu 16.04
14.04

How To Install and Secure phpMyAdmin with Nginx on an Ubuntu 14.04 Server

Learn How To Install and Secure phpMyAdmin with Nginx on an Ubuntu 14.04 Server

Become a contributor for community

Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.

DigitalOcean Documentation

Full documentation for every DigitalOcean product.

Resources for startups and SMBs

The Wave has everything you need to know about building a business, from raising funding to marketing your product.

Get our newsletter

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

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.