Raspberry Pi Model: 3b+
System Environment: 2017-04-10-raspbian-jessie
First update the source
BASIC
sudo apt-get update
Installing Apache2
BASIC
sudo apt-get install apache2
Install MySQL
BASIC
sudo apt-get install mysql-server
An interface will appear during installation to set the root password of the database.
Confirm the password again.
Installing the MySQL plugin for PHP and PHP
Bash
sudo apt-get install php5 php5-mysql
Installing phpMyAdmin for managing databases
BASIC
sudo apt-get install phpmyadmin
Here to choose the Apache2 we have just installed, select by the space, you can select one more asterisk
Choose No, don't choose Yes, unless you know
At this point, a apache2+php+mysql+phpyadmin environment configuration is complete!
This article comes from the small just studio reprint please specify;
Original address:
http://www.pecmd.com/?id=48
Raspberry Pi 3b Installation Apache2+php+mysql+phpyadmin