Getting Started

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

Getting Started

Postby jvvw » 22. April 2005 10:20

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!
jvvw
 
Posts: 3
Joined: 22. April 2005 10:09

Postby Kroesss » 22. April 2005 10:34

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.
Kroesss
 
Posts: 35
Joined: 18. November 2004 09:08
Location: Vriezenveen

Postby jvvw » 22. April 2005 10:50

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!
jvvw
 
Posts: 3
Joined: 22. April 2005 10:09

Postby Kroesss » 22. April 2005 11:00

you are sure you put it in the c:\xampp\htdocs-directory (or path where you installed xampp in)?
Kroesss
 
Posts: 35
Joined: 18. November 2004 09:08
Location: Vriezenveen

Postby jvvw » 22. April 2005 11:19

Sorted it out - Windows had messed up the file extension, sorry. It works now. Thanks for your responses - they were really helpful.
jvvw
 
Posts: 3
Joined: 22. April 2005 10:09


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 122 guests