
Cara Upgrade Versi PHP Dan Ganti Versi PHP Yang Aktif Di Ubuntu
⚙️ 1. Tambahkan Repositori PHP 8.2 1 2 3 4 sudo apt update && sudo apt upgrade -y sudo apt install -y software-properties-common ca-certificates apt-transport-https lsb-release sudo add-apt-repository ppa:ondrej/php -y sudo apt update 🧩 2. Install PHP 8.2 + Modul yang di Butuhkan Stack LEMP (Nginx + PHP-FPM + MariaDB), jadi install ini: 1 sudo apt install -y php8.2 php8.2-fpm php8.2-cli php8.2-mysql php8.2-zip php8.2-xml php8.2-mbstring php8.2-curl php8.2-gd php8.2-bcmath unzip git curl Kalau ingin tambahan ekstensi umum untuk Laravel/WordPress: ...



