1. install php and cgi support
sudo apt-get install php5-common
sudo apt-get install php5-cgi
sudo apt-get install php5-cli
sudo apt-get install php5
2. install PiControl
git clone https://github.com/Bioshox/Raspcontrol.git
cd Raspcontrol
sudo chmod 0777 ./start.sh
sudo ./start.sh
then input your ip address, you will see the picture above. If you have already run another website on your Pi, change the port number in start.sh.