How to make a basic Raspberry Pi webserver (Apache2+php5)
!!! OUTDATED !!! USE AT YOUR OWN RISK, INSTALL PHP7 NOT PHP5
How to setup a raspberry pi to run a basic web server!
Tutorial- https://www.raspberrypi.org/documentation/remote-access/web-server/apache.md
How to install WordPress- https://www.raspberrypi.org/learning/lamp-web-server-with-wordpress/
Used commands-
sudo raspi-config
sudo apt update
sudo apt upgrade
sudo apt install apache2
cd /var/www/html
ls -al
sudo apt install php5 libapache2-mod-php5 -y
sudo rm index.html
sudo nano index.html
by Sam Archibald
linux web server