Page 1 of 1

PHP files will not run

PostPosted: 06. January 2005 09:10
by Nogva
This is a cry for help from a total newbie! I have downloaded the Xampp and the "Status" says "Activated" for all things except the FTP. Strangely when I load simple test files that I have made like hello.php the Web Browser says it cannot find the file. This despite the fact that I have put the file where the other php-files are that comes with the installation. I have tried to fool around and put it elsewhere, but to no avail. I have used the Web Browser with "localhost" and so on in the address field, just like I think it shall be. But.... Is there any other things I need to do to run PHP files than the simple installation of Xampp??

PostPosted: 06. January 2005 12:08
by Wiedmann
Is there any other things I need to do to run PHP files than the simple installation of Xampp??

No.

I load simple test files that I have made like hello.php the Web Browser says it cannot find the file.
...
This despite the fact that I have put the file where the other php-files are that comes with the installation.

Where is the location of your PHP file (complete path)?
What did you type in your browser (complete URL)?

eg:
path: C:\xampp\htdocs\test.php
URL: http://localhost/test.php

PostPosted: 06. January 2005 12:37
by Nogva
I load simple test files that I have made like hello.php the Web Browser says it cannot find the file.
...
This despite the fact that I have put the file where the other php-files are that comes with the installation.


Where is the location of your PHP file (complete path)?
What did you type in your browser (complete URL)?

eg:
path: C:\xampp\htdocs\test.php
URL: http://localhost/test.php[/quote]

I have not changed anything since the installation. The file is like this:
C:\apachefriends\xampp\htdocs\test.php

And I have the URL as you mention. I notice that when the "xampp basic start" file is started, it calls PHP files that also are located here without any problems. After all - the "Status" page in Xampp says everything is up and running.