VPS1Euro Dashboard Wiki

Complete client guide: infrastructure, services, account and support.

FR EN

Stack LAMP (Apache + PHP + MySQL + phpMyAdmin)

Install a complete web server to host your sites.

What this tutorial does

The tutorial "Stack LAMP (Apache + PHP + MySQL + phpMyAdmin)" helps you achieve this goal:

Install a complete web server to host your sites.

← Back to tutorials
1 profiles 9 steps 8 commands ~20 min

Debian/Ubuntu

  1. To update: apt update && apt upgrade -y
  2. Install Apache2: apt install -y apache2
  3. Install PHP: apt install -y php libapache2-mod-php php-mysql php-curl php-gd php-mbstring php-xml php-zip
  4. Install MariaDB: apt install -y mariadb-server
  5. Secure MariaDB: mysql_secure_installation
  6. Install phpMyAdmin: apt install -y phpmyadmin
  7. Enable access: ln -s /usr/share/phpmyadmin /var/www/html/phpmyadmin
  8. Restart services: systemctl restart apache2 mariadb
  9. Access phpMyAdmin: http://IP/phpmyadmin