How To Install Linux, Nginx, MySQL, PHP (LEMP stack) on Ubuntu
A guide to installing and configuring the LEMP stack (Linux, Nginx, MySQL, PHP 8.1) on Ubuntu 22.04/24.04 for modern web hosting.
A guide to installing and configuring the LEMP stack (Linux, Nginx, MySQL, PHP 8.1) on Ubuntu 22.04/24.04 for modern web hosting.
PHP 8.3 brings performance improvements, typed class constants, the json_validate() function, and various engine enhancements over PHP 8.2. This guide installs PHP 8.3 on Ubuntu 24.04 LTS using the Ondrej PPA — the most up-to-date source for PHP on Ubuntu. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server A user with […]
phpMyAdmin is a free web-based interface for managing MySQL/MariaDB databases. This guide installs phpMyAdmin on Ubuntu 24.04 LTS with Nginx and PHP 8.3. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server Nginx, MySQL, PHP 8.3-FPM installed A user with sudo privileges Step 1 – Install phpMyAdmin Install from the Ubuntu repository: […]
Composer is the dependency manager for PHP. It allows you to declare project libraries, resolve version conflicts, and install them automatically. This guide installs Composer globally on Ubuntu 24.04 LTS. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server PHP 8.3 installed A user with sudo privileges Step 1 – Install Required […]
Drupal 11 is an enterprise-grade open-source CMS and web application framework. Released in 2024, it requires PHP 8.3+ and modern extensions. This guide installs Drupal 11 on Ubuntu 24.04 LTS with Nginx and PHP 8.3. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server Nginx, PHP 8.3-FPM, MySQL 8.0 installed Composer installed […]
Der LEMP-Software-Stack ist eine Gruppe von Software, die zur Bereitstellung von dynamischen Webseiten und Webanwendungen verwendet werden kann, die in PHP geschrieben sind. Es handelt sich um ein Akronym, das ein Linux-Betriebssystem mit einem Nginx-Webserver (ausgesprochen…
CodeIgniter 4 is a lightweight, fast PHP framework ideal for developers who want a simple MVC structure without heavy overhead. This guide installs CodeIgniter 4 on Ubuntu 24.04 LTS with Nginx and PHP 8.3. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server Nginx, PHP 8.3-FPM installed Composer installed Step 1 – […]
Laravel 11 is the latest major version of the popular PHP framework, introducing a streamlined skeleton, the new Reverb WebSocket server, and improved Eloquent features. This guide deploys a Laravel 11 application with Nginx and PHP 8.3 on Ubuntu 24.04 LTS. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server Nginx, PHP […]
Xdebug 3 is the essential debugging extension for PHP. It enables step-by-step debugging, code coverage analysis, and profiling. This guide installs Xdebug 3 for PHP 8.3 on Ubuntu 24.04 LTS and configures it for use with VS Code. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server or desktop PHP 8.3 installed […]
The LEMP stack — Linux, Nginx, MySQL, and PHP — is a popular combination for hosting dynamic web applications. This guide installs and integrates all four components on Ubuntu 24.04 LTS. Tested and valid on: Ubuntu 24.04 LTS Prerequisites Ubuntu 24.04 LTS server A user with sudo privileges UFW firewall configured Step 1 – Install […]