Install:Quick Install PHPMYAdmin

From OpenLiteSpeed Wiki

This guide will explain how to get up and running with PHPMYAdmin on OpenLiteSpeed Web Server.

Install PHP modules

The easiest way to install PHP for OpenLiteSpeed is through our CentOS repository.

Step 1. Install PHP

You can install some of the most commonly-used PHP 7.1 packages and modules for OpenLiteSpeed. Use the following command:

sudo yum install lsphp71 lsphp71-mysqlnd lsphp71-common lsphp71-gd lsphp71-pdo lsphp71-process lsphp71-mbstring lsphp71-mcrypt lsphp71-opcache lsphp71-bcmath lsphp71-xml lsphp71-soap lsphp71-json -y 

Step 2. Setup PHP

Visit http://your_server_IP:7080. Navigate to Server Configuration > External app, then click the second icon Edit on the right hand side in order to edit this application.


  • Name: lsphp → lsphp71
  • Command: $SERVER_ROOT/fcgi-bin/lsphp5 → $SERVER_ROOT/lsphp71/bin/lsphp

Download and Extract PHPMYAdmin

To illustrate setting up PHPMYAdmin on a vhost we'll use the default virtual host, “Example”.

cd /usr/local/lsws/Example/html

mv phpMyAdmin-4.7.4-all-languages phpmyadmin

This installs PHPMYAdmin on OpenLiteSpeed, you can visit PHPMYAdmin at : http://server_IP:8088/phpmyadmin/index.php