LEMP & LLSMP

LEMP and LLSMP Application Server

LEMP combines Linux, NGINX, MariaDB, and PHP in one container. When LiteSpeed is available, the similar LLSMP stack combines Linux, LiteSpeed, MariaDB, and PHP. Both stacks also include Memcached for object caching.

LEMP and LLSMP Overview

LEMP is a single-container software bundle suitable for hosting a wide range of PHP projects. LLSMP provides the same integrated architecture but uses LiteSpeed instead of NGINX.

Application serverAn event-driven, PHP-powered NGINX or LiteSpeed web server.
DatabaseA built-in MariaDB server stores the application data.
Object cacheAn additional Memcached server is started by default.
HTTP/3 readinessLEMP from release 1.16.1 and the LLSMP stack have HTTP/3 support enabled by default. A Public IP is required for direct HTTP/3 access.
LEMP and LLSMP container structure
The integrated container includes the PHP web server, MariaDB, and Memcached.
i

LLSMP licensing

All LiteSpeed-specific characteristics apply to LLSMP, including the additional LiteSpeed license fee.

Create a LEMP or LLSMP Environment

1

Open the environment wizard

Sign in to the platform dashboard and click New Environment.

Create a new environment
Open the environment topology wizard.
2

Select LEMP or LLSMP

Open the PHP tab and select the required integrated application server.

3

Configure the topology

Adjust the scaling limit, Public IP, region, and other required parameters, then click Create.

LEMP environment topology wizard
Select LEMP or LLSMP and configure the required environment parameters.
4

Open the created environment

After provisioning completes, click Open in Browser to view the default phpinfo() data.

LEMP environment created
The integrated PHP environment is ready for application deployment.

LEMP and LLSMP Peculiarities

Built-in Database and Cache Access

  • phpMyAdmin for the integrated MariaDB server is available through port 8443.
  • The exact phpMyAdmin link and credentials are included in the environment-creation email.
  • The admin password can be reset from Additionally → Admin Panel → Reset Password.
  • Memcached does not use a password and is accessible only from inside the container through localhost.
  • MariaDB clients inside the container can connect through SOCKET using localhost or TCP using 127.0.0.1.
LEMP admin panel access
Open the integrated database administration panel or reset its password.

Environment Variables

ADMINPANEL_ENABLEDAllows or blocks access to the phpMyAdmin console. The documented default is true.
CACHE_ENABLEDEnables or disables Memcached object caching. The documented default is true.
CP_MEM_LIMITDefines the RAM portion reserved for NGINX or LiteSpeed. The documented default is 50%.
CACHE_MEM_LIMITDefines the RAM portion reserved for Memcached. The documented default is 10%.
DB_MEM_LIMITDefines the RAM portion reserved for MariaDB. The documented default is 40%.

Memory values can be provided in megabytes, gigabytes, or percentages. When no unit is provided, the value is interpreted as a percentage.

LEMP environment variables
Configure integrated web-server, cache, and database resource allocation.
!

Restart required

Restart the container after changing these environment variables. LLSMP also provides LiteSpeed-specific variables such as WAF, WP_PROTECT, and WP_PROTECT_LIMIT.

Standard Platform Benefits

  • Automatic vertical scaling
  • Usage-based pricing
  • SSH access
  • Container Firewall
  • Container redeployment
  • Statistics monitoring
  • Deployment automation

Expected Result

A self-contained LEMP or LLSMP environment is created with a PHP web server, integrated MariaDB database, and Memcached object cache. The application can be deployed without adding separate database or cache nodes.

Important Notes

  • A Public IP is required for direct HTTP/3 access.
  • LLSMP includes LiteSpeed-specific behavior and license fees.
  • phpMyAdmin is accessed through port 8443.
  • Memcached is available only through localhost and does not use a password.
  • The default RAM allocation totals 100%: 50% web server, 10% cache, and 40% database.
  • Restart the container after changing stack environment variables.

Common Issues and Solutions

phpMyAdmin does not openCheck port 8443, the admin-panel variable, environment status, and credentials from the creation email.
Database password is unknownUse Additionally → Admin Panel → Reset Password.
Memcached cannot be reached remotelyConnect from inside the container through localhost; remote access is not provided by default.
Variable changes have no effectRestart the container after saving the environment variables.
One component lacks memoryReview the CP, cache, and database memory limits while keeping the total allocation appropriate for the container.