So I moved the www directory into C:/xampp/htdocs and it worked the php program ran. So I would assume that (https://localhost/www/php/hello.php
) where //localhost/ refers to the C:/xampp/htdocs/ directory. Is this set in an ini file somewhere?
you'll find it in C:/xampp/apache/conf/httpdconf.ini approx. line 183.
But I suggest you not to change this. Perhaps use ask in future for support and everyone thinks you're using standard.
If you like to have another folder for projekts you have to learn about vhosts.
Configuration file: C:/xampp/apache/conf/extra/httpd-vhosts.conf, is automatical included
In this case please read carefully and complete http://httpd.apache.org/docs/2.0/en/vhosts/
, use forum search (there are a lot of excamples and hints too