Altrea wrote:How do you open the php-file?
what url is standing in your browser address bar?
I open it with firefox
PHP is a script language interpreted by a webserver.
To parse PHP-files you had to access them in a specific way. You had to use the http-protocol.
double click to open PHP files doesn't work!
Open the file directly in your browser with your local path doesn't work!
You had to open the file in your Browser with an url.http://localhost/
directly routes to your htdocs folder (e.g. C:\xampp\htdocs) - Your Apache does the magic so be sure your Apache is started.
If you had a path C:\xampp\htdocs\folderxy\file.php you had to type in the url http://localhost/folderxy/file.php
to access the file.
cyberfred wrote:i just wondering if we can change this default folder ?
But you should open your own thread
or even better try the forum search for "DocumentRoot"