Install webserver on Raspberry Pi

Download Raspbian
Place it on SD card
Start the raspberry.

Login with: pi (root)
Password: raspberry

Type sudo raspi-config to start the config.

Change the password
Change the Hostname
Change Localisation Options -> Change Timezone to Europe, Amsterdam
Change Interfacing Options -> Enable SSH
Update the Raspberry

Exit menu
Reboot the raspberry sudo reboot

Open putty and connect to the raspberry and login

Install Apache webserver on your Raspberry

sudo apt-get install apache2 -y

Install PHP

sudo apt-get install php5 libapache2-mod-php5 -y

13-03-2018
sudo apt-get install libapache2-mod-php

Install Mysql

sudo apt-get install mysql-server php5-mysql -y

You get a message to enter MySQL root password. Enter this password and Reenter the password in the next screen

Secure your MySQL

sudo mysql_secure_installation

and enter the MySQL root password

You get the message to change the password. Type No

Now you get some questions. Answer is Yes