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
I had the same problems, but this solution did not work. When i tried to call my hello.php script via
ip/hello.php
The error logs from my apache gave this message
[Fri Jun 26 16:21:27 2015] [:error] [pid +++] [client ip.ip.ip.ip:pppp] script '/var/www/vhosts/default/htdocs/hello.php' not found or unable to stat
When I moved the script from /var/www/html/
to /var/www/vhosts/default/htdocs
it worked.