Instalasi PHP server di MyAdmin
Berikut tutorial lengkap cara install phpMyAdmin dan mengatur agar bisa diakses melalui subdomain rafi .lab/phpmyadmin di Debian 11 + Apache2 . Ini versi yang paling aman, rapi, dan pasti berhasil kalau diikuti dari awal. ✅ 1. Update Server sudo apt update && sudo apt upgrade -y ✅ 2. Install Apache2, PHP, dan ekstensi wajib phpMyAdmin butuh beberapa modul PHP. sudo apt install apache2 php php-mbstring php-zip php-gd php-json php-curl php-xml php-mysql -y Aktifkan modul mbstring: sudo phpenmod mbstring sudo systemctl restart apache2 ✅ 3. Install MariaDB / MySQL (jika belum) sudo apt install mariadb-server -y Amankan database: sudo mysql_secure_installation Pilih: Set root password? → Y Remove anonymous users? → Y Disallow remote root login? → Y Remove test DB? → Y Reload privileges? → Y ✅ 4. Install phpMyAdmin sudo apt install phpmyadmin -y Saat proses instalasi: Pilih server → apache2...