Cloud VPS from $1.98/mo · pay with Bitcoin, Ethereum, Monero, USDT or Solana · paid in crypto

LAMP on a VPS

The LAMP app installs Apache, MariaDB and PHP with the lamp.sh script, plus a `lamp` command that adds virtual hosts and databases.

1 GBMinimum memory
Ubuntu 24.04 LTSBase image
80/tcp, 443/tcpPorts
GPL-3.0 (lamp.sh script); each component keeps its own licenseLicense

About LAMP

LAMP is the classic web stack: Linux, the Apache HTTP Server, a MySQL-family database and PHP. This app builds on the open-source lamp.sh script (GPL-3.0), which installs Apache 2.4, MariaDB and PHP-FPM and supports PHP releases from 7.4 to 8.5.

Much PHP software expects Apache with .htaccess support, so WordPress, Joomla, Drupal or a custom app run without changes. On CloudSat you get root access, NVMe storage and room for several sites on one VPS.

After deploy Apache serves the default site from /data/www/default on port 80, and the lamp command manages sites and databases.

What you get with LAMP

  • Apache 2.4 with PHP-FPM
  • MariaDB 10.11, 11.4 or 11.8
  • PHP versions from 7.4 to 8.5
  • lamp vhost add creates a site in one command
  • lamp db add creates a database and its user

LAMP use cases

  • Several client PHP sites on one server
  • Legacy apps that depend on .htaccess rules
  • A staging copy of a production PHP site

After you deploy LAMP

  1. When the server is Running, load http://<server IP>/ to see the default page, then SSH in as root.
  2. Run lamp vhost add to create a virtual host for your domain and lamp db add for its database.
  3. Upload your code into the new site directory with scp, rsync or Git.
  4. Point DNS at the server and install a TLS certificate, for example with Certbot, before launch.

LAMP ports

Open these in your firewall if you use one: 80/tcp HTTP, 443/tcp HTTPS.

LAMP FAQ

LAMP or LEMP?

Apache reads per-directory .htaccess files, which many PHP apps rely on. Nginx in a LEMP stack stays leaner under heavy concurrency but needs rewrite rules in its own config.

Where do the config files live?

On Ubuntu, Apache's main file is /etc/apache2/apache2.conf, virtual hosts sit in /etc/apache2/sites-enabled and MariaDB reads /etc/mysql/my.cnf.

Disclaimer. The LAMP project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.

LAMP on your own server.
Ready in under 5 minutes.

Pick a region and a size; the console shows the address as soon as it is up.

Every server delivered in under 5 minutesPay with crypto14-day money-back