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 addcreates a site in one commandlamp db addcreates a database and its user
LAMP use cases
- Several client PHP sites on one server
- Legacy apps that depend on
.htaccessrules - A staging copy of a production PHP site
After you deploy LAMP
- When the server is Running, load
http://<server IP>/to see the default page, then SSH in as root. - Run
lamp vhost addto create a virtual host for your domain andlamp db addfor its database. - Upload your code into the new site directory with
scp,rsyncor Git. - 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.