Apache Endless "Waiting for localhost..." problem

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

Apache Endless "Waiting for localhost..." problem

Postby cheetah » 31. January 2010 23:50

Ok, I have read and reread all the posts on this topic, tried just about everything suggested.

The one symptom that I have not seen anyone report is the it happens after a couple of minutes in...
Also, everything was working fine before. it happened a couples time, but it was much more infrequent.

I stop my Apache and MySql services. Then Restart them. Then I go on happily to my site.

http://localhost/happyfella/blahblah.php?page=blabla

EVERYTHINGS works fine, about 15 click later I get the dreaded "Waiting for localhost..." and Ohhh crap, I have to restart apache again to continue testing my crap.

I have tried changing localhost to a static IP, still got "Waiting for localhost..."
I added Win32DisableAcceptEx to the end of my httpd.conf file, , still got "Waiting for localhost..."


any suggestions?
cheetah
 
Posts: 9
Joined: 31. January 2010 23:34

Re: Apache Endless "Waiting for localhost..." problem

Postby cheetah » 04. February 2010 03:16

Can the cause be Browser Related? How can I go about figuring this out? any suggestions?????
cheetah
 
Posts: 9
Joined: 31. January 2010 23:34

Re: Apache Endless "Waiting for localhost..." problem

Postby Bithunter » 04. February 2010 12:05

I have a similar problem with some sections of some scripts. It´s related to PHP 5.3.x, I think (that doesnt happen with PHP 5.2.x)
Bithunter
 
Posts: 6
Joined: 28. January 2010 14:41

Re: Apache Endless "Waiting for localhost..." problem

Postby cheetah » 04. February 2010 17:24

I am also using PHP 5.3.x.

For a while there I thought it was my scripts. But I get "Waiting on localhost..." also on phpmyadmin

Is there an easy way to downgrade php from php5.3.x to php5.2.x? I do not wanna reinstall(downgrade) xampp.


-----------------------------------------------------
Just an Update
I read http://bobsguides.com/xampp.html and Downgraded Xampp to 1.7.0 which carries PHP Version 5.2.8. Lets see if that helps.
cheetah
 
Posts: 9
Joined: 31. January 2010 23:34

Re: Apache Endless "Waiting for localhost..." problem

Postby cheetah » 04. February 2010 19:25

SAD news :( ... It still happens after downgrade to php5.2.8

Firefox at 5minutes later still said "waiting on localhost..."

I opened Google Chrome and tried it. Worked ok,

But this happens in Chrome too, so it is not specific to a browser.

there is nothing in my apache log to indicate any errors

Any other ideas?suggestions?
cheetah
 
Posts: 9
Joined: 31. January 2010 23:34

Re: Apache Endless "Waiting for localhost..." problem

Postby cheetah » 18. February 2010 06:54

I no longer think it is my script, because it happens all the time with phpmyadmin too
cheetah
 
Posts: 9
Joined: 31. January 2010 23:34

Re: Apache Endless "Waiting for localhost..." problem

Postby ajlisowski » 18. February 2010 20:13

Not sure if its the same issue I once had. But I would randomly get a lot of 'waiting for localhost...' lockups. I forget the complete reason for what was happening to me, but the simple form was this:

Processes were accessing sessions and then not completing, so the sessions were still locked to that specific process. The fix for my problem was to do the following:

after starting a session I would call the php function
session_write_close();

Which would close write access to the process. The session can be read, but not written to. If later in a php program I needed to write, you simply start the session again and then call write_close when you are done writng.

session_start() will simply open write privleges back up on a session that has write_close on it.

This fixed my localhost, white screen crashes.
ajlisowski
 
Posts: 3
Joined: 18. February 2010 19:24

Re: Apache Endless "Waiting for localhost..." problem

Postby kergan@live.com.au » 20. February 2010 21:55

Not sure what OS your using?
I also HAD the same prob with getting this working.

reading the forums looking for answers,
Changing to Static IP
Rewrite the httpd.conf file
change the port settings
and still had problems

in the end I removed everything,
Then right click on my xampp.exe file and ran it as administrator


Loaded, works, and have not had an issue since.
kergan@live.com.au
 
Posts: 3
Joined: 10. February 2010 12:14

Re: Apache Endless "Waiting for localhost..." problem

Postby cheetah » 23. February 2010 20:51

I am running Win XP Home sv3
I am the only user in this computer, am already the Admin


I have giving up trying to figure it out, now and then i read the forums for new ideas and try them

I just keep XAMPP Control panel open and STOP/START Apache whenever localhost hangs. Pain in the bug but I gotten used to :roll: it.
cheetah
 
Posts: 9
Joined: 31. January 2010 23:34

Re: Apache Endless "Waiting for localhost..." problem

Postby cheetah » 13. March 2010 03:22

Just popping in if any one has made any other suggestions or encountered the same issue :roll:
cheetah
 
Posts: 9
Joined: 31. January 2010 23:34

Re: Apache Endless "Waiting for localhost..." problem

Postby lukasz@ibridge.co.uk » 18. March 2010 11:18

Hi

I had the same problem and as it turned out the problem was not in the apache conf but mysql conf

I added to the my.conf "skip-name-resolve"
and all back to normal


source
http://forums.mysql.com/read.php?24,23390,23395
http://forums.mysql.com/read.php?24,233 ... msg-169778
lukasz@ibridge.co.uk
 
Posts: 1
Joined: 18. March 2010 11:09

Re: Apache Endless "Waiting for localhost..." problem

Postby cheetah » 27. March 2010 22:09

Had hope with that last suggestion, even thought it worked, that is till I got the ENDLESS "Waiting for localhost..." AGAIN :roll:

it happens to both my php application and to phpMyadmin
cheetah
 
Posts: 9
Joined: 31. January 2010 23:34


Re: Apache Endless "Waiting for localhost..." problem

Postby cheetah » 28. March 2010 20:39

Tried those things area. did not help
Crapping out equally regardless of browser.
Tried the static ip.. blahhhhhhhhhhhh
cheetah
 
Posts: 9
Joined: 31. January 2010 23:34

Re: Apache Endless "Waiting for localhost..." problem

Postby brianMazzola() » 16. July 2010 16:41

I've had the same problem for three frustrating days now and would reallyyy appreciate a solid solution...tried everything as has the author of this page...love to hear any further suggestions.
brianMazzola()
 
Posts: 1
Joined: 16. July 2010 16:36

Next

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 23 guests