Won't open files in local directory

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

Won't open files in local directory

Postby userFour » 09. March 2010 01:47

I had looked at some different topics, but I am overwhelmed with them and I cannot understand a lot of what posters are asking. This is the first day I have ever typed something in php, so I am new. Here is my problem illustrated with pictures.
Going to http://localhost works.

Image

in htdocs I put a hw.php file with the following code.

Image

Going to http://localhost/hw.php does not work.

Image

What am I dong wrong?
userFour
 
Posts: 2
Joined: 09. March 2010 01:28

Re: Won't open files in local directory

Postby Jan445 » 09. March 2010 02:54

i dont have a solution but maybe this helps you,
why dont you copy
<?php
echo"hello world";
?>
in to the file index.php that now displays "It works!" just use that file and try to figure out what the problem is
i think it must be something easy.
User avatar
Jan445
 
Posts: 2
Joined: 09. March 2010 02:33

Re: Won't open files in local directory

Postby userFour » 09. March 2010 04:23

It is fixed, thanks. XAMPP was not doing the apache, another thing was.
userFour
 
Posts: 2
Joined: 09. March 2010 01:28


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 51 guests