PHP files will not run

Problems with the Windows version of XAMPP, questions, comments, and anything related.

PHP files will not run

Postby Nogva » 06. January 2005 09:10

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??
Nogva
 
Posts: 2
Joined: 05. January 2005 23:16

Postby Wiedmann » 06. January 2005 12:08

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
Wiedmann
AF Moderator
 
Posts: 17106
Joined: 01. February 2004 12:38
Location: Stuttgart / Germany

Postby Nogva » 06. January 2005 12:37

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.
Nogva
 
Posts: 2
Joined: 05. January 2005 23:16


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 44 guests