php
import os # Update system packages os.system("sudo apt update -y") # Install Apache, PHP, MySQL client, and phpMyAdmin os.system("sudo apt install -y apache2 mysql-client php php-mbstring php-zip php-gd php-json php-curl") # Install phpMyAdmin os.system("sudo apt install -y phpmyadmin") # Enable PHP modules os.system("sudo phpenmod mbstring") # Restart Apache to apply changes os.system("sudo systemctl restart apache2") print("✅ phpMyAdmin installation complete! Access it at http://localhost/phpmyadmin")