walter81 Posted June 28, 2007 Share Posted June 28, 2007 I've installed Vista and now Apache keeps crashing on me! Everytime I open my local version of my website it loads 50% of the page, "waits" like 10 or 15 seconds and than proceeds and finishes the page. Windows gives me a nice message "Apache HTTP Server has encountered an error" followed by a "Apache had to be closed down" message. In the log it shows this: [Thu Jun 28 21:34:33 2007] [notice] Child 2540: Child process is running [Thu Jun 28 21:34:33 2007] [notice] Child 2540: Acquired the start mutex. [Thu Jun 28 21:34:33 2007] [notice] Child 2540: Starting 250 worker threads. [Thu Jun 28 21:34:33 2007] [notice] Child 2540: Starting thread to listen on port 80. [Thu Jun 28 21:36:26 2007] [notice] Parent: child process exited with status 255 -- Restarting. [Thu Jun 28 21:36:27 2007] [notice] Apache/2.2.4 (Win32) PHP/5.2.3 configured -- resuming normal operations [Thu Jun 28 21:36:27 2007] [notice] Server built: Jan 9 2007 23:17:20 [Thu Jun 28 21:36:27 2007] [notice] Parent: Created child process 1128 [Thu Jun 28 21:36:27 2007] [notice] Child 1128: Child process is running [Thu Jun 28 21:36:27 2007] [notice] Child 1128: Acquired the start mutex. [Thu Jun 28 21:36:27 2007] [notice] Child 1128: Starting 250 worker threads. [Thu Jun 28 21:36:27 2007] [notice] Child 1128: Starting thread to listen on port 80. So, apache is alive, I open my site (wich runs fine on the www AND previously under Windows XP!), outputs like 50%, crashes, restarts and finishes the page. But WHY? Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/ Share on other sites More sharing options...
apacheguy Posted June 28, 2007 Share Posted June 28, 2007 Possibly not compatible with Vista? Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/#findComment-285317 Share on other sites More sharing options...
steviewdr Posted June 29, 2007 Share Posted June 29, 2007 I think that "Child 1128: Starting 250 worker threads." is too high (at a guess). Perhaps tweak your httpd.conf or get a new httpd.conf from the apache download. Also - can you further elaborate: "wich runs fine on the www AND previously under Windows XP" what www??? Does it work fine when accessed via www.yoursite.com ? And it doesnt when you access it via http://localhost?? If so, it could simply be a hosts.ini issue. -steve Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/#findComment-285578 Share on other sites More sharing options...
walter81 Posted June 29, 2007 Author Share Posted June 29, 2007 on the www = my copy on my webhost (but the exact same files), so yes: everything is fine on mywebsite.com and not on localhost/mywebsite a I didn't find anything about Apache not being compatible with vista so I'm not sure if that's the case. I'll try tweaking the worker threads. thanks for the tip Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/#findComment-285700 Share on other sites More sharing options...
steviewdr Posted June 29, 2007 Share Posted June 29, 2007 OK - so your code works on your webhost, but the identical code causes apache to fall over on your localhost server. Well it could be a hosts.ini issue. Try going to http://127.0.0.1 Do you have the mysql extensions and stuff you need installed? Can you open up a simple http://localhost/test.html page? -steve Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/#findComment-285721 Share on other sites More sharing options...
walter81 Posted July 8, 2007 Author Share Posted July 8, 2007 everything works fine. a info()-php page also works fine. And phpmyadmin also doesn't give any problems. Only my own php-pages cause apache to crash. But it didn't under XP. It also doesn't live on my hosts' server and it didn't under XP.... Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/#findComment-292495 Share on other sites More sharing options...
khashayar581 Posted March 5, 2009 Share Posted March 5, 2009 Here's the solution and it works great on my vista: http://www.apachefriends.org/f/viewtopic.php?f=16&t=32617 Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/#findComment-777129 Share on other sites More sharing options...
Mchl Posted March 5, 2009 Share Posted March 5, 2009 Welcome to the forums. Please note, that nobody is probably looking for an answer to a topic which was not active for year and a half. Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/#findComment-777243 Share on other sites More sharing options...
aingel Posted April 22, 2010 Share Posted April 22, 2010 Had the same problem on a Win7 32bit. What I did was to upgrade Apache to 2.3.14 and PHP to 5.3.1 and it works like a charm on me. the PDO workaround does not work because I was not even using it and had turned it off. Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/#findComment-1046187 Share on other sites More sharing options...
Mchl Posted April 22, 2010 Share Posted April 22, 2010 Welcome to the forums. Please note, that nobody is probably looking for an answer to a topic which was not active for two and a half years. Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/#findComment-1046277 Share on other sites More sharing options...
tornavis Posted August 22, 2013 Share Posted August 22, 2013 Don't be so sure. 6 years later, I found myself with this problem and my way here through google. So that's that. Quote Link to comment https://forums.phpfreaks.com/topic/57611-apache-crashes-parent-child-process-exited-with-status-255/#findComment-1446314 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.