Digital Paint Discussion Board
Digital Paint Community => Other Stuff => Topic started by: eMo on March 31, 2009, 03:01:08 PM
-
I need some trouble shooting help with Apache and i was wondering if anyone could lend me some time to figure out what exactly is wrong.
I had IIS running, but somehow my teacher messed it up so i disabled it and decided to run apache as a local host.
My problem is that when i type: localhost into my browser address it wont resolve. I checked my services and nothing is running that should affect it.
-
if you try http://127.0.0.1 what happens?
You might have a simple dns resolution issue.
-
same thing as localhost. just sits there trying to resolve.
Also i didn't mention im using XAMPP. I'm going to try and restart again to see if my services are the problem
-
You can ping localhost and 127.0.0.1 correct? ( making sure your tcpip stack isn't fubared)
-
I can ping it fine. As soon as type it into my address bar it just sits and tries to load.
I really don't know what it is. IIS is completely removed, I've uninstalled apache completely and re-installed.
Don't know what im missing. ..
-
Take a read at these 2 docs:
http://johnbokma.com/windows/apache-virtual-hosts-xp.html
http://developer.spikesource.com/docs/cs_1.6.0-linux/doc/apache/apache_troubleshoot.html
-
So i took apache off of port 80 and put it on 8080.
Now when i try and go to locolhost i get "failed to connect" which was expected.
when i try localhost:8080 it still does the same thing. could it be my apache install or my config file?
-
is the apache service even running? You should be getting the apache page under construction page.
-
yep the service is running. I know the screen i should be getting cause i'v had tomcat running on this once.
I really have no idea what the problem is and my poor little teacher is confused enough as it is without the class's problems =\
I'll give it another shot tonite when i get home.
thanks for your quick replies knack.
-
hit me up later I should be in my home office most of the night
-
You're using XAMPP, you aren't trying to install Apache separately are you?
-
You're using XAMPP, you aren't trying to install Apache separately are you?
no. When I got home today I uninstalled xampp and tried to install apache 2.2 on its own but still had the same result.
I really don't know where to go from here.. prob into the config..
-
just try wamp (http://www.wampserver.com/en/)
-
yeah i was going to try that today...
after that im just going to give up.
Can you guys think of any other ways to run .php files?
edit: would microsoft visual studio work? i code asp in it
-
If you just need to run a PHP script, then download the PHP interpreter and call it by the command line.
Have you checked the Apache logs?
Try opening telnet to 127.0.0.1:80(80) and type in:
GET / HTTP/1.0
Type two new lines afterward.
-
I couldn't open the connection to: 127.0.0.1:80(80).
[Thu Apr 02 11:17:16 2009] [notice] Child 3740: Child process is running
[Thu Apr 02 11:17:16 2009] [notice] Child 3740: Acquired the start mutex.
[Thu Apr 02 11:17:16 2009] [notice] Child 3740: Starting 64 worker threads.
[Thu Apr 02 11:17:16 2009] [notice] Child 3740: Starting thread to listen on port 80.
[Thu Apr 02 11:21:28 2009] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Thu Apr 02 11:21:28 2009] [notice] Child 3740: Exit event signaled. Child process is ending.
[Thu Apr 02 11:21:29 2009] [notice] Child 3740: Released the start mutex
[Thu Apr 02 11:21:30 2009] [notice] Child 3740: All worker threads have exited.
[Thu Apr 02 11:21:35 2009] [notice] Child 3740: Child process is exiting
[Thu Apr 02 11:21:36 2009] [notice] Parent: Child process exited successfully.
[Thu Apr 02 11:23:00 2009] [notice] Apache/2.2.11 (Win32) PHP/5.2.9-1 configured -- resuming normal operations
[Thu Apr 02 11:23:00 2009] [notice] Server built: Dec 10 2008 00:10:06
[Thu Apr 02 11:23:00 2009] [notice] Parent: Created child process 5652
[Thu Apr 02 11:23:00 2009] [notice] Child 5652: Child process is running
[Thu Apr 02 11:23:00 2009] [notice] Child 5652: Acquired the start mutex.
[Thu Apr 02 11:23:00 2009] [notice] Child 5652: Starting 64 worker threads.
[Thu Apr 02 11:23:00 2009] [notice] Child 5652: Starting thread to listen on port 8080.
installed wamp.
tried it on port 80, changed it to 8080.
still same problem . ...
-
Have you tried using Apache without setting up PHP?
-
Have you tried using Apache without setting up PHP?
...i cant even get apache up :P (including apache stand alone)
-
So, I'm unable to run mysql now. It worked perfect before....
I have no idea whats going on. I'm guessing my services are all intercoursed up =\.
Would more than service of the same type effect anything. ( I'v got 3 different mysql services for some reason)
-
1. go into services and stop all mysql and apache services
2. You need to uninstall EVERYTHING
3. reinstall JUST apache and playwith that until you get it.
-
...lol
edit: got mysql running... now for apache..