Page 1 of 1

Getting Started

PostPosted: 22. April 2005 10:20
by jvvw
I've just installed XAMPP on my Windows computer because I want to be able to test out my PHP scripts locally.

However I can't find any instructions on how to get started doing this. I'm used to sshing to a server and editting files. I don't write that many PHP scripts and the point of this is to hopefully save me time so I don't want to have to spend hours rooting around in documentation :-) I know nothing about Apache.

Sorry if I am being blind or if this is the wrong piece of software to be using!

PostPosted: 22. April 2005 10:34
by Kroesss
place the php-files you want tot test in the htdocs-directory and open yout your internet-browser. the adress to the php-file is http://localhost/file.php.

Starting the Xampp-package itself (should bedone before entering the adress in internet explorer) is done using the xampp_start.bat-file.

PostPosted: 22. April 2005 10:50
by jvvw
Thanks for such a quick response!

I've got Xampp running - the control panel says it's running and http://localhost/ takes me to the index.html page in the htdocs directory. But when I try putting a php file test.php say in that directory and look at
http://localhost/test.php then I get an HTTP 404 Page not found error.

Any idea what I could be doing wrong?

Thanks!

PostPosted: 22. April 2005 11:00
by Kroesss
you are sure you put it in the c:\xampp\htdocs-directory (or path where you installed xampp in)?

PostPosted: 22. April 2005 11:19
by jvvw
Sorted it out - Windows had messed up the file extension, sorry. It works now. Thanks for your responses - they were really helpful.