LEMP Stack

One-Click NGINX Stack

One-Click LEMP Stack Hosting with NGINX

Deploy Ubuntu 24.04 with NGINX, MariaDB, PHP, and phpMyAdmin from the AccuWeb.Cloud marketplace and build your web environment with full cloud instance control.

Build PHP websites, APIs, and web applications on an NGINX-based cloud environment with full instance control.

Deploy LEMP Stack
Ubuntu 24.04 NGINX MariaDB Latest Supported PHP phpMyAdmin Root & SSH Access
How NGINX routes two kinds of requestA request for a static file goes from NGINX to static content. A request for a PHP page goes from NGINX to PHP processing and then to MariaDB. phpMyAdmin is shown separately, connected to MariaDB as an administration interface and not part of the request path.request-routing — illustrativeGET /assets/app.cssGET /account.phpNGINXroutes requestsStatic contentPHP processingMariaDBphpMyAdminadmin onlyphpMyAdmin is an administrationinterface. It is not part of thewebsite request path.
Illustrative routing diagram — not a performance measurement.
23+ Years

Exp. in Hosting Business

10,000+

Cloud Deployments

Equinix

Data Centers

True

Pay As You Go Pricing

10.6 Mins

Ticket Response Time

LEMP Stack Hosting Pricing

LEMP cloud hosting on AccuWeb.Cloud runs on a Compute instance. Choose the vCPU, RAM, storage, and networking appropriate for your workload. There are no LEMP-specific fixed plans and no separate LEMP software subscription — you pay for the Compute resources you provision.

All instances are dedicated, ensuring superior performance with no resource sharing, backed by our 30-days money back guarantee!
Need custom vCPU, RAM or NVMe storage configurations? We offer complete flexible sizing.
See Full Comparison & Pricing
Customer Testimonials

Trusted Cloud Hosting, Rated by Our Customers

Our customers say Great Trustpilot 4.1 Rating 4.1 out of 5 (TrustPilot)
▶ Hear from our customers

Guaranteed 40% Cloud Savings OR Get 100% Money Back

AC AccuWeb.Cloud
$211
16vCPU / 32GB RAM / 50GB SSD
MA Microsoft Azure
$285.12
8vCPU / 32GB RAM / 64GB SSD
DO DigitalOcean
$302.00
8vCPU / 32GB RAM / 120GB SSD
GC Google Cloud
$312.22
12vCPU / 32GB RAM / 50GB SSD
AWS AWS Cloud
$450.76
16vCPU / 32GB RAM / 50GB SSD
Save at least 40% or your money back Read the terms

Third-party names and marks belong to their respective owners and are shown for identification only.

Pricing comparison based on equivalent configurations as of 1 August 2026.

LEMP Components

Your LEMP Environment, Ready to Configure

LEMP cloud hosting on AccuWeb.Cloud gives you an Ubuntu NGINX hosting foundation with a complete MariaDB PHP hosting environment behind it, all running on a Compute instance you control.

Foundation

Ubuntu 24.04

Operating-system foundation for your cloud instance.

Web server

NGINX

Handles incoming web requests, serves static content, and can route application requests.

Runtime

Latest Supported PHP

Provides the PHP runtime.

Current marketplace image includes PHP 8.3. Available PHP versions may change as the marketplace image is updated.

Database

MariaDB

Provides relational data storage.

Administration interface

phpMyAdmin

Provides browser-based MariaDB administration. It sits beside the stack as an admin tool and is not part of the request-processing path shown in the diagram below.

The signature of the stack

See How LEMP Handles a Web Request

A PHP NGINX server splits incoming traffic: files that need no processing are served straight away, and PHP requests are handed to PHP, which may read from MariaDB.

Step 1

Visitor Requests

A browser asks for a page or a file

Step 2

NGINX

Receives every request and decides where it goes

then, depending on the request

Either

Static Content

Images, CSS, JavaScript and other files are served directly. No PHP or database is involved.

or

Or

PHP Processing

NGINX passes PHP requests to PHP (typically through PHP-FPM) to run your code.

Step 3

Your Application

PHP code, framework or CMS builds the response

Step 4

MariaDB

Stores and returns relational data when the application asks for it

Admin only · outside the request path

phpMyAdmin

Browser-based MariaDB administration

  1. 01

    The browser asks

    A visitor requests a page, an image or an API endpoint on your domain.

  2. 02

    NGINX decides

    Static files are served immediately. Anything that needs PHP is passed on.

  3. 03

    PHP runs your code

    Your application builds the page, reading or writing data as needed.

  4. 04

    MariaDB supplies data

    Records come back to the application and the finished response returns to the visitor.

This diagram explains how a request travels. It makes no claim about response times or benchmark results.

Streamlined Setup

Deploy a One-Click LEMP Stack in Five Steps

The one-click LEMP stack is launched from the AccuWeb.Cloud marketplace onto the Compute instance you choose.

marketplace › lemp-stack
  1. 01SELECT LEMPChoose the LEMP marketplace application.
  2. 02CHOOSE RESOURCESPick the Compute plan for your workload.
  3. 03DEPLOY INSTANCELaunch the instance with the LEMP environment prepared.
  4. 04CONNECT & CONFIGUREConnect over SSH; set up your domain, server blocks and SSL.
  5. 05DEPLOY APPLICATIONAdd your code, database content and integrations.

What one click does — and doesn't do

One-click deployment prepares the LEMP environment. Your application code, database content, integrations, and custom configuration are deployed and managed separately.

Workload Suitability

Why Choose an NGINX-Based PHP Stack?

NGINX hosting suits PHP applications that want a dedicated web server in front of PHP, handling static and dynamic content together. For NGINX PHP hosting on a cloud instance, these are the workloads it commonly fits:

PHP Applications

location ~ \.php$

APIs

location /api/

Web Applications

location /

Static + Dynamic Content

try_files $uri /index.php

Reverse-Proxy Configurations

proxy_pass

Laravel Workloads

root …/public

WordPress Environments

/index.php?$args

Development

dev.example.com

Staging

staging.example.com

NGINX does not automatically make every website faster, and nothing is tuned for you on deployment. Real-world performance depends on your application code, database design, NGINX and PHP configuration, and the Compute resources you choose. Application compatibility depends on software version, extensions and dependencies.

Stack Comparison

LAMP or LEMP: Which Stack Fits Your Application?

LEMP vs LAMP comes down to the web server, the database and the configuration model. Both run PHP applications on Linux.

Comparison of LEMP and LAMP stacks on AccuWeb.Cloud
ComponentLEMPLAMP
Operating SystemUbuntu 24.04Linux
Web ServerNGINXApache
DatabaseMariaDBMySQL
PHPLatest Supported PHPLatest Supported PHP
phpMyAdminIncluded — administers MariaDBIncluded — administers MySQL
.htaccessNot used by NGINXSupported by Apache
Configuration ModelNGINX server blocksApache virtual hosts and .htaccess

Neither architecture is universally better. Choose based on application compatibility, web-server requirements, administration preferences, and your existing deployment model.

Explore LAMP Hosting
Custom Architecture

Configure NGINX Around Your Application

Root access means the configuration is yours. Nothing is optimized for you automatically — you shape NGINX, PHP and MariaDB around what your application needs.

/etc/nginx/sites-available/example.com
server {
    listen 80;
    server_name example.com www.example.com;
    root /var/www/example.com/public;
    index index.php index.html;

    location / {
        try_files $uri $uri/ /index.php?$query_string;
    }

    location ~ \.php$ {
        include snippets/fastcgi-php.conf;
        fastcgi_pass unix:/run/php/phpX.Y-fpm.sock;
    }

    location /api/ {
        proxy_pass http://127.0.0.1:3000;
    }
}

# test, then reload
$ sudo nginx -t && sudo systemctl reload nginx

Illustrative example — paths, ports and the PHP socket name depend on your application and the installed PHP version.

  • NGINX server blocks
  • Reverse proxy configuration
  • PHP settings
  • MariaDB administration
  • phpMyAdmin
  • SSL
  • Custom ports
  • Caching configuration, where appropriate
  • Root access
  • SSH
  • Logs
  • Custom packages
  • Firewall rules

You control your NGINX configuration, application code, database content and custom software. AccuWeb.Cloud does not tune your application automatically.

Data Protection

LEMP Stack Backup & Recovery Options

Included

Complimentary 7-Day Disaster Recovery Backup

Optional policies

Hourly, Daily or Weekly Backup Policies

Snapshots

Instance Snapshots

Snapshots

Volume Snapshots

Application-aware MariaDB backups are not included by default and need to be configured separately — for example, by scheduling database dumps for your own databases.

Managed Support

LEMP Hosting with Managed Cloud Support

AccuWeb.Cloud provides managed cloud and infrastructure support within the defined support scope. Application-level work remains customer-controlled unless separately included.

Who is responsible for each layer of a LEMP environment
AreaResponsibility
Cloud infrastructure and platformAccuWeb.Cloud support — within the defined support scope
PHP application managementCustomer, unless separately included
MariaDB content administrationCustomer, unless separately included
NGINX application tuningCustomer, unless separately included
WordPress administrationCustomer, unless separately included
Custom developmentCustomer, unless separately included
FAQ

LEMP Stack Hosting FAQs

Please ask your queries. We are available 24/7

Launch Your NGINX-Based PHP Stack

Deploy a preconfigured LEMP environment and start building your PHP workload.

Deploy LEMP Stack

All third-party logos and trademarks displayed on AccuWeb Cloud are the property of their respective owners and are used only for identification purposes. Their use does not imply any endorsement or affiliation.