XAMPP installation and config

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

XAMPP installation and config

Postby sigung_q » 05. February 2013 05:52

I am brand new to this whole thing, so I really don't know what I'm doing. I am using a tutorial for PHP. It had me write a "hello world program, and said to place it in the root directory of my local host. I placed it in the installed directory of XAMPP, but the program is not recognized by my browser. I configured my browzer for Firefox, which is my default. But when I put in either http//localhost/hello.php, or http//127.0.0.1/hello.php, I come up with a blank page. So I assume I am in the wrong location, or my new installation of XAMPP is not configured properly. Any help is appreciated, as I have no idea about root directories or local hosts. I assumed the root directory is c: and the local host was the directory c:\xampp, which is where the xampp system is installed.

Also, is there any kind of tutorial on the XAMPP system? I have no idea what all the controls are supposed be for. I know I probably need to go back to college and get several Phds just to get the basics, but any help is appreciated.
sigung_q
 
Posts: 14
Joined: 05. February 2013 05:14
XAMPP Version: 5.6.3
Operating System: Windows 7 V.6.1 Build 7601:SP1

Re: XAMPP installation and config

Postby Altrea » 05. February 2013 08:16

Hi sigung_q,

A short salutation is an act of politeness. Even if the internet is an virtual area, there is always a human being behind the screen. A polite beginning helps to get polite answers too. Please keep that in mind if you start a new thread. Thank you.

sigung_q wrote:But when I put in either http//localhost/hello.php, or http//127.0.0.1/hello.php, I come up with a blank page.

So I assume I am in the wrong location, or my new installation of XAMPP is not configured properly.

If you where in the wrong location, you won't get a blank page, but a HTTP status 404 error page.
If your XAMPP would not be configured correct, your orange XAMPP Administration page (http://localhost/xampp/) will not work either.

My guess is, that the reason is in your code, most common used short_open_tag
But we don't know your code.

sigung_q wrote:I assumed the root directory is c: and the local host was the directory c:\xampp, which is where the xampp system is installed.

http://localhost/ is routed to \xampp\htdocs\ by default, which automatically requests the containing index.php file, which contains a redirect to http://localhost/xampp/ which is the orange XAMPP Administration page.

sigung_q wrote:Also, is there any kind of tutorial on the XAMPP system?

XAMPP is just a bundle of preconfigured very common webserver components, so you should search for Apache, PHP, MySQL, Mercury, FileZilla, Perl Tutorials.

sigung_q wrote:I have no idea what all the controls are supposed be for.

well, controls are doing things :D

best wishes,
Altrea
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 6539
Joined: 17. August 2009 13:05
XAMPP Version: 5.5.19
Operating System: W7Ux64


Return to XAMPP for Windows

Who is online

Users browsing this forum: Nobbie and 61 guests