Page 1 of 1

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

PostPosted: 01. January 2010 06:04
by JayTee
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.

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

PostPosted: 01. January 2010 06:31
by JayTee
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

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

PostPosted: 01. January 2010 08:10
by Izzy
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.

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

PostPosted: 01. January 2010 09:27
by JayTee
Thanks. The problem was when I saved it as sample.php from notepad it saved as sample.php.txt