finds.dev

teddysun/lamp

Install LAMP (Linux + Apache + MariaDB + PHP) for AlmaLinux/RockyLinux/CentOS/Debian/Ubuntu

View on GitHubHomepage ↗

★ 2,918ShellGPL-3.0updated May 2026

// the take

A bash script that installs Apache + MariaDB + PHP on major Linux distros using the native package manager. It wraps dnf/apt-get with sane defaults and adds a `lamp` CLI for managing vhosts and databases. The target is solo developers or sysadmins standing up a traditional PHP stack on a cheap VPS.

Covers a wide distro matrix including EL8/9/10, Debian 11-13, and Ubuntu 22/24 with architecture support for both x86_64 and arm64. The `lamp` command is a genuine quality-of-life addition — vhost and database lifecycle in one place beats typing raw systemctl and mysql commands. PHP version coverage from 7.4 through 8.5 means you can actually run legacy apps without fighting the package manager. Actively maintained through mid-2026 despite being a 13-year-old project.

The whole thing is one script delegating to a package manager — there's no idempotency, so running it twice on the same box is undefined territory. No TLS provisioning built in, which means every new vhost needs manual Certbot wiring afterward. No containerisation path: if you later want Docker or want to replicate the setup, you're back to reading the README rather than running a compose file. The custom Teddysun RPM repository for Apache is a trust dependency with no transparency — you're fetching binaries from a personal CDN.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
2,918
Forks
1,045
Language
Shell
License
GPL-3.0
Last commit
21 May 2026

// nearby

If lamp isn't quite it.

All repos →