I reciently installed PHP5 and a new version of Apache on my linux system. After a bit of fiddling around, I was able to get PHP to work.
However what I can't figure out is that my simple php scripts (even the "hello") will only run if I copy them into the cgi-bin directory of my apache document root (/var/www/cgi-bin).
For example if I run localhost/hello.php, I get the Not Found /hello.php not found, but if I copy the hello.php into cgi-bin directory, and then do localhost/cgi-bin/hello.php, the script will run fine.
What did I do wrong.
Thanks for the help.
Tom