Forum Moderators: coopster
The thing we are trying to figure out is what exactly isnt working. Is it apache? is it php? no clue yet.
Make sure you read all of the documentation for the install, make sure that you followed all the steps. Don't change too many things at once and try to remember everything you change. If you think you are getting it all screwed up, scrap it all and start over, step by step. If you are getting overly frustrated go to bed and start again tomorrow. Which is what I have to do, sorry, it's late here. I am sure someone else will be along to help. :)
>> sry but im really im noob in this im 14
don't worry, that doesn't matter, you can figure it all out, no worries, just takes a little time. You should have seen me with my first install on my home computer, hehe, I think I broke a few keyboards that day. ;)
Did you actually start apache?
If this is a Windows machine you should go to the Start menu, Programs and they're will be a folder called apachefriends and under that is xampp. Under there you can click on "xampp basic start". That'll get you going. Look in the instructions if you want to make this automatic by installing it as a service.
Tim
//localhost/hello.php
Is this exactly what you've been trying to reach? If so, try adding http: on the front:
[localhost...]
You can verify if you're reaching your localhost or not by whether or not you get an error page. If the page can't be found, you're not reaching localhost (either that or you mistyped the URL). If the page can be found but doesn't display anything, try viewing the source to see what's getting sent to the browser.
i even checked my status at //localhost/
That's interesting Sandro. So you must be able to see [localhost...] since you can get the status. Can you also see phpinfo() all right?
Your path to htdocs should be c:\apachefriends\xampp\htdocs
You could try creating a directory under htdocs called "test" and putting your hello.php file there. It would then be at [localhost...]
I found that xampp puts some weird files/redirects in the htdocs directory that were screwing me up. I ended up deleting them all and putting in my own.
Tim
http://localhost/xampp/phpinfo.php shows you your PHP info, then find that file! It's in the right directory. Put your hello.php into the same directory and use http://localhost/xampp/hello.php to view it. It is odd, because I've never needed to use
xampp in the URL for an XAMPP installation, but if http://localhost/xampp/phpinfo.php is working, then it's in your default directory ... and that's where the other stuff should go. You may have made a choice during setup that affected the default directory. I don't run setup, I just launch the server (
\xampp\apache_start.exe) after unzipping the install files, and everything runs fine.