So I want to learn PHP, and I\'ve installed it with \"sudo apt-get install php5\" on my Ubuntu 14.04 machine. I see it also installed Apache.
Now I\'ve created my progra
Pick a name for it lets use hello.php for this example.
hello.php
On Ubuntu the folder is /var/www/html, NOT /var/www. You will need root access for that. So you save the file as /var/www/html/hello.php.
/var/www/html
/var/www
/var/www/html/hello.php
Open up a web browser and enter the following address:
localhost/hello.php
And BAM. There's you page.