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
Assuming you have php5 and apache2 installed and apache running, here's how to get to script execution quickly.
create script:
echo "Hello World'; ?>" > /var/www/index.php
open browser:
gnome-open http://localhost/index.php # or: sensible-browser http://localhost/index.php