GNU/Linux Mint Installing LAMP PHP 8.x – QuickStart Guide
Welcome! This tutorial provides a step-by-step guide on how to install LAMP with PHP 8.x on Linux Mint 20.x/21.x/22.x LTS. Follow these instructions to set up a powerful web development environment on your desktop.
To install LAMP PHP 8.x on Linux Mint, start by ensuring that PHP 8.x is available in the default Apt repositories. This setup includes Apache, MySQL/MariaDB, and PHP 8.x, making it a robust solution for web development.
Key updates in PHP 8.x include:
- Named Arguments
- Union Types
- Attributes
- Constructor Property Promotion
- Match Expression
- Nullsafe Operator
- JIT
The guide also covers how to replace MySQL with MariaDB for your LAMP setup.
-
1. Launching Terminal
Open a Shell Terminal emulator window.
(Press “Enter” to execute commands) 2. Enabling PHP Repo
Enable the Latest PHP Repo for Ubuntu-based systems
Contents