I've installed apache2, php5, phpmyadmin, and mysql5 via the software manager.
I tested apache2 by going to http://localhost and it resolved correctly.
How do I write and test a php program?
For example, let's say my program is:
Where do I put this to run and test it?