Install LAMP Apache, PHP and MySQL and phpmyadmin....

This is based on Wheezy version of raspbian. For Jessie version the default folder changes from /var/www to /var/www/html

Log into your Banana Pi/Pro

 sudo apt-get update -y && sudo apt-get upgrade -y
 sudo apt-get install -y apache2 apache2-utils
 sudo groupadd -f -g33 www-data
 sudo chown yourname:www-data /var/www
 sudo chmod 775 /var/www
 sudo apt-get install -y php5 libapache2-mod-php5 php5-common mysql-client

 sudo apt-get install -y php-pear php5-mysql php5-curl php5-gd php5-idn php5-imagick php5-imap php5-mcrypt php5-memcache php5-mhash php5-ming php5-ps php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl php5-json

 sudo apt-get install -y mysql-server

 mysql_secure_installation

 sudo apt-get install -y phpmyadmin
  at the step where you are asked "Apache2 or lighttpd" press 'Space bar' in
  apache 2 and an * will show it's selected.
  Press tab to OK and then press enter....

  root paswd = yourpassword

  (Test webserver by typing IP address in PC's browser bar)
  (web page is in /var/www/index.html )


  then CD to /var/www
    CD /var/www 
and change index.html to index.php
  sudo mv index.html index.php

check on browser ipaddress 192.168.0.101/phpmyadmin
 login as root - yourpassword