noob help: can't load php test file with xampp

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

noob help: can't load php test file with xampp

Postby JayTee » 01. January 2010 06:04

Hello,

I just installed the newest version of xampp for windows. I'm running vista. The main screen for xampp comes up when I go to http://localhost. My Status page says everything is activated except smtp and ftp service. I made a sample php file and saved it as sample.php in the htdocs folder. When I enter http://localhost/sample.php I get an error message "Object Not Found!". Thank you in advance for any help.
JayTee
 
Posts: 3
Joined: 01. January 2010 05:54

Re: noob help: can't load php test file with xampp

Postby JayTee » 01. January 2010 06:31

This is the error log:

[Fri Jan 01 00:28:32 2010] [error] [client ::1] script 'C:/xampp/htdocs/sample.php' not found or unable to stat
[Fri Jan 01 00:28:32 2010] [error] [client ::1] File does not exist: C:/xampp/htdocs/favicon.ico
JayTee
 
Posts: 3
Joined: 01. January 2010 05:54

Re: noob help: can't load php test file with xampp

Postby Izzy » 01. January 2010 08:10

Make sure when you saved your file from your editor that it did not save it as sample.php.php as I have been able to reproduce this by saving a sample.php file I created in my text editor as sample.php.php then calling the file in my browser by http://localhost/sample.php - the error message in my error.log file is identical to the one you have above.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: noob help: can't load php test file with xampp

Postby JayTee » 01. January 2010 09:27

Thanks. The problem was when I saved it as sample.php from notepad it saved as sample.php.txt
JayTee
 
Posts: 3
Joined: 01. January 2010 05:54


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 125 guests