How to Install phpMyAdmin on Everleap

Overview

phpMyAdmin is a web based tool for managing MySQL databases. Everleap does not install it for you, but you can upload it to your own site and point it at your Everleap MySQL database. This article covers downloading it, editing its configuration for our environment, uploading it and enabling PHP.

Step 1: Download phpMyAdmin

Download the .zip file from the phpMyAdmin site.

The phpMyAdmin download page showing the zip file download

Step 2: Extract the files

Extract the contents of the .zip file on your local computer.

The extracted phpMyAdmin folder contents on a local computer

Step 3: Find your MySQL server name

You need to know which MySQL server your database is on before you can edit the configuration file.

  1. Log in to the Everleap Control Panel at cp.everleap.com.
  2. From the top menu click Databases, then Shared MySQL (or Private MySQL if you have a private server).
  3. Click Manage next to your database.
  4. Read Database Server in the General Information panel. It is in the form my##.everleap.com, where ## is your server number.
The MySQL Database Overview page showing the General Information panel with Database Version, Database Server, Database User, Database Password and Disk Space Quota

Step 4: Edit the configuration file

Open the file called config.sample.inc.php and change this line from:

$cfg['Servers'][$i]['host'] = 'localhost';

to:

$cfg['Servers'][$i]['host'] = 'my##.everleap.com';

using the server name you found in step 3.

In the same file, add this line:

$cfg['TempDir'] = '../../tmp';

right after this one:

$cfg['SaveDir'] = '';

This prevents an error about writing to a cache file. If you make the temp folder /site/wwwroot/tmp it will not save the file, because the file path name is too long.

Save the file and rename it to config.inc.php.

Step 5: Create a .user.ini file

Create a .user.ini file with at least the following setting:

session.save_handler = files

Place it in your root directory, that is /site/wwwroot.

Step 6: Upload the files

Upload the files to the Everleap server using an FTP client such as FileZilla (see How to Configure FTP for FileZilla). Place them either in the root directory, for example /site/wwwroot/phpMyAdmin, or in a sub directory, for example /site/wwwroot/sub/phpMyAdmin.

If you place it in a sub directory, modify the temp directory setting from step 4 by adding an extra parent path:

$cfg['TempDir'] = '../../../tmp';

Step 7: Enable PHP on the site

  1. In the Control Panel, click Shared Sites in the top menu.
  2. On the Shared Cloud Sites Overview page, click Manage next to the applicable site.
  3. On the Site Overview page, click the SETTINGS tab.
  4. Click the General tab.
  5. Select the latest version in the PHP dropdown.
  6. Click Update General Settings.
The Site Settings General tab showing the PHP dropdown expanded with Disabled, 7.0, 7.1, 7.2, 7.3, 7.4, 8.0, 8.1, 8.2 and 8.3, above Classic ASP, Pipeline Mode, WebSockets, Auto Heal, Always On and the Update General Settings button

Step 8: Launch phpMyAdmin

Enter your primary domain name, or the secondary URL we provide you, in a browser. For example:

http://www.mydomainname.com
http://1234-12345.el-alt.com

If you uploaded phpMyAdmin to a sub directory, append the sub directory name to the URL:

http://www.mydomainname.com/sub-directory_name
http://1234-12345.el-alt.com/sub-directory_name

Verify it worked

The phpMyAdmin login page appears. Enter your database login credentials, which are the Database User and password from the MySQL Database Overview page, and you are in.

The phpMyAdmin welcome page showing the Language selector and the Log in panel with Username and Password fields

Notes

  • If you have forgotten your database password, you can set a new one from the Edit link next to Database Password on the MySQL Database Overview page.
  • phpMyAdmin is third party software. Everleap hosts it for you but does not support the application itself.

Related Articles