How To Install LAMP (Apache, MySQL, PHP) on Debian 9 Stretch
- Step 1 – Prerequisites. Login to your Debian 9 server using sudo privileges or root user on the command line. ...
- Step 2 – Install Apache2. The Debian 9 base repositories contain Apache 2.4 packages. ...
- Step 3 – Install MySQL. ...
- Step 4 – Install PHP. ...
- Step 5 – Verify Setup.