Apache+PHP on Cubieboard with Lubuntu
I executed the following steps to install apache with PHP on my cubieboard2 with lubuntu.
Lets start with installation that will take about 25MB:
sudo apt-get install apache2 sudo apt-get install php5 sudo /etc/init.d/apache2 restart
Put your IP address to the browser (or localhost) and you see that Apache was installed correctly.
Your www content is stored in /var/www.
The whole www folder is owned by root. So for easier access I changed owner to my user named linaro