---
title: "Installing phpMyAdmin on Your Server"
description: "If you have a web designer and they are designing your website with a content management system (CMS), the designer may need access to the databases. Until now, the easiest solution was to provide..."
url: https://www.inmotionhosting.com/support/website/installing-phpmyadmin-on-your-account/
date: 2011-10-24
modified: 2024-11-06
author: "Carrie Smaha"
categories: ["Website"]
type: post
lang: en
---

# Installing phpMyAdmin on Your Server

If you have a web designer and they are designing your website with a content management system (CMS), the designer may need access to the databases. Until now, the easiest solution was to provide them with the cPanel username and password to access phpMyAdmin. For security purposes, this may not be the best solution since this would allow the third party complete access to your cPanel account, including email, add-on domains, and other files / databases you may have.

You can install phpMyAdmin on your server in a few easy steps that will eliminate the need to provide your designer with cPanel access.

- [Manual Installation](#manual)
- [SSH](#ssh)
- [Softaculous](#softaculous)

## Installing phpMyAdmin on Shared Hosting Packages

1. Download the zip file of the latest version of phpMyAdmin at [**phpMyAdmin.net**](https://www.phpmyadmin.net/downloads/).
2. Once you download the zip file, you’ll need to upload the file via an FTP program or by using [cPanel File Manager](/support/website/how-to-upload-files-server/). We recommend [FileZilla](/support/website/ftp/configuring-your-site-in-filezilla/) for FTP.
3. Once in File Manager, upload the package you downloaded to the *public_html* folder.[![zip file in cPanel File Manager](https://www.inmotionhosting.com/support/wp-content/uploads/2011/10/phpMyAdmin_phpmyadmin-install.png)](/support/wp-content/uploads/2011/10/phpMyAdmin_phpmyadmin-install.png) 
4. After uploading the file, [uncompress it](/support/edu/cpanel/compressing-uncompressing-files/#uncompress). To do so, right-click the highlighted file and select extract.[![Extracting file in File Manager](https://www.inmotionhosting.com/support/wp-content/uploads/2011/10/phpMyAdmin_extract-menu.png)](/support/wp-content/uploads/2011/10/phpMyAdmin_extract-menu.png) 
5. Once the file is extracted, you will notice there is a file folder created. Rename the folder “*phpMyAdmin-5.2.1-all-languages.zip*” to “*phpmyadmin*” or similar for additional security.
6. Visit the folder in your web browser, e.g. *https://example.com/phpmyadmin/setup*.
7. You will need to create a *config.inc.php* file. You can do this on the setup screen, download the file, and [upload it into the */phpmyadmin* directory](/support/website/how-to-upload-files-server/) or by copying *public_html/phpmyadmin/config.sample.inc.php* to *config.inc.php*.[![phpMyAdmin setup screen](https://www.inmotionhosting.com/support/wp-content/uploads/2011/10/phpmyadmin_phpmyadmin-4-8-3-setup.png)](/support/wp-content/uploads/2011/10/phpmyadmin_phpmyadmin-4-8-3-setup.png)**Note:** Info on all options possible in the config file such as [Authentication options](https://docs.phpmyadmin.net/en/latest/setup.html#using-authentication-modes) is available in [phpMyAdmin documentation](https://docs.phpmyadmin.net/en/latest/config.html#config).
8. Click **New server** and type your server hostname beside “*Verbose name of this server*“, easily found in your [AMP Account Technical Details](/support/amp/viewing-account-technicial-information-in-amp/). Then click “Save”.
9. You can now access phpMyAdmin without cPanel by visiting, e.g. *https://example.com/phpmyadmin/index.php.*

**Note:** If using SuPHP, make sure the [.htaccess files do not have PHP settings](/support/website/where-is-my-htaccess-file/).

Congratulations! You have successfully installed phpMyAdmin externally and you can access your databases without cPanel!

## Installing phpMyAdmin using SSH

1. [SSH into your server](/support/server/ssh/do-you-provide-ssh-access/).
2. Enter the *public_html* folder:cd ~/public_html
3. Install the compressed file:wget https://files.phpmyadmin.net/phpMyAdmin/5.2.1/phpMyAdmin-5.2.1-all-languages.zip
4. Unzip the compressed file:unzip phpMyAdmin-5.2.1-all-languages.zip > /dev/null
5. Assign the correct file permissions:chown -R $USER:$USER phpMyAdmin-5.2.1-all-languages*
6. Move the files to the appropriate place:mv phpMyAdmin-5.2.1-all-languages phpmyadmin
7. Copy the file and rename the config.inc.php file:cp -p phpmyadmin/config.sample.inc.php phpmyadmin/config.inc.php
8. Set a random string to the “blowfish_secret”:<?php// use here a value of your choice at least 32 chars long$cfg['blowfish_secret'] = '1{dd0`<Q),5XP_:R9UK%%8\"EEcyH#{o';$i=0;$i++;$cfg['Servers'][$i]['auth_type'] = 'cookie';// if you insist on "root" having no password:// $cfg['Servers'][$i]['AllowNoPassword'] = true;
9. You can now access phpMyAdmin by visiting, for example, *https://example.com/phpmyadmin/install*.

Refer to [phpMyAdmin’s Official Install Guide](https://docs.phpmyadmin.net/en/latest/setup.html) for additional installation methods and tips.

**Note:** If using SuPHP, make sure the [.htaccess files do not have PHP settings](/support/website/where-is-my-htaccess-file/).

## Install phpMyAdmin in Softaculous

1. [Log into cPanel.](/support/edu/cpanel/how-to-log-into-cpanel/)
2. Search and select the **Softaculous** button.![](https://www.inmotionhosting.com/support/images/stories/softaculous/softaculous-cpanel-button-1.png)
3. From the left of the page, search and select **phpMyAdmin** under *DB Tools*.
4. Select **Install Now** to begin with installation details.
5. Specify the **protocol**, **domain**, **directory**, **database host**, and Softaculous **backup location** as needed before pressing **Install**.**Note:** You’ll receive the error below if the specified domain isn’t using PHP 7.1 or higher. You can check this via cPanel [PHP Configuration](/support/website/how-to-change-the-php-version-your-account-uses/) ([or MultiPHP Manager](https://www.inmotionhosting.com/support/website/how-to-change-the-php-version-your-account-uses/) for VPS/Dedicated) or a [phpinfo page](/support/website/php/create-phpinfo-page-to-see-php-settings/)– e.g. *example.com/phpinfo.php*.
6. Select the checkbox in the warning to update the specified domain (or subdomain) to PHP 7.1 or edit it manually from the cPanel [PHP Configuration](/support/website/how-to-change-the-php-version-your-account-uses/) ([MultiPHP Manager](https://www.inmotionhosting.com/support/website/how-to-change-the-php-version-your-account-uses/) for VPS/Dedicated).

Congratulations. You can now access phpMyAdmin using your specified domain.
