Web Server Configuration
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
 
Go Back   Dev Articles Community ForumsWeb DesignWeb Server Configuration

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Ajax Application Generator Generate database and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old September 23rd, 2004, 06:57 AM
faulkj faulkj is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 1 faulkj User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy PHP crashing/restarting Apache - PLEASE HELP ME!!

So I upgraded the hard drive on my server installing Windows XP and the newest versions of Apache (2.0.51) and PHP (5.0.1) on the new drive. Everything was working out fine until I realized that several of my PHP scripts were not working with the new setup.

Unfortunately, I accidentally formatted the old hard drive, so now I can't go back and see what was different that worked on the old setup.

I know this: every PHP script that does serious file processing (either parsing a long file or cycling through something like 400 files) will cause Apache to crash and then restart. Sometimes repeatedly so that the browser loads halfway through the page over and over. Sometimes with smaller scripts, after several of these reloads the PHP will work and the page will load all the way. When I look at the Apache error log, I see this for each crash/restart (the child process # is different each time):


[Thu Sep 23 04:49:56 2004] [notice] Parent: child process exited with status 4294967295 -- Restarting.
[Thu Sep 23 04:49:59 2004] [notice] Parent: Created child process 3764
[Thu Sep 23 04:50:00 2004] [notice] Child 3764: Child process is running
[Thu Sep 23 04:50:00 2004] [notice] Child 3764: Acquired the start mutex.
[Thu Sep 23 04:50:00 2004] [notice] Child 3764: Starting 250 worker threads.


I've tried every combination of Apache 2.0.48 through 2.0.51 with PHP 4.3.3 through 5.0.1. I've tried changing all the timeout settings I could find in php.ini and httpd.conf. I've changed around all the fopen settings in php.ini. I'm 98% sure I hadn't changed around anything in php.ini with my old setup. I did have a lot of custom settings in httpd.conf, but would anything in there cause this??

I don't know what else to do. I'm desperate! Does anyone out there have any idea how to get my stuff working again??

Thanks,
Joshua

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsWeb DesignWeb Server Configuration > PHP crashing/restarting Apache - PLEASE HELP ME!!


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 3 hosted by Hostway