Page 1 of 1

What do I need to do?

PostPosted: 13. December 2003 12:32
by Toadhead
Operating system: Windows XP


1.) I downloaded "xampp-win32-1.2.exe"

2.) installed it in "C:\" (theres created an new folder called "xampp" into the C:)

3.) Opened "setup_xampp.bat" at "C:\xampp\"

4.) Pressed 1 and hittee enter.

5.) Waited until it said "finished press an key to etc."

6.) Pressed an key and the cmd window closed.

7.) Opened "apache_start.bat"

8.) It says: close this command only for shutdown
apache is starting...

And this screen won't go away.

Same problem when I open "mysql_start.bat"


However, I only have this problem sometimes, when it works and I visit 127.0.0.1 I get the "APACHE" welcome screen, and not the xampp (or is that the same?)

9.) when I thinks it works and I get the "APACHE" welcome screen and I try to open *.php files he's not opening them but "DOWNLOADING"...
How can I fix this?????

WHAT DO I WRONG????
Can someone please help me?


Otherwise can someone please tell me what to do in simple steps...


Toadhead

I was confused, too...

PostPosted: 21. January 2004 00:36
by Dave Bear
You're supposed to start Apache and MySQL by clicking on a couple files in the XAMPP folder; I think they're called Start_Apache and Start_MySQL, or something like that. But you're supposed to start them in a certain sequence; I can't remember which is first.

You click another file to turn MySQL off, but you just click Apache off by clicking the X in the top right corner of the black screen (console). This confused me at first, because there are so many instructions for turning off Apache on the Internet, and I thought XAMPP's instructions meant to simply apply these commands to the console. But it's really as simple as it sounds - you just click the X in the top right corner.

But it sounds like most people operate Apache "as a service," automatically turning on and off with your computer and running invisible in the background.

I can't remember exactly how I did that, but I think I simply typed a command into the Command Prompt window. If this is all as new to you as it is to me, here are some slightly more elaborate instructions:

If you're using Windows, click the button in the bottom left corner you use to open your software programs ("All Programs"), then click Accessories and Command Prompt...

All Programs > Accessories > Command Prompt

This opens up a small black window that will probably say something like C:> or C:/myfolder/, whatever.

You can change it to a different "path" by typing in cd/ (or it might be a backward slash - cd\ ), clicking Enter, then typing in your new path and hitting Enter again. I think you have to change directories to C:/XAMPP/apache/bin/, C:/xampp/htdocs, or something like that.

But before you change the directory, visit Apache's website at http://www.apache.org/ , and click to link for information about Apache servers. I think it's one of the first links in the top left area of the page and says "http/something-or-other." Then click 2.0, for information on Apache 2.0.

Then you can find instructions on what to type in to change Apache to a service.

It took me a long time to figure all this out, though it's actually fairly simple.