I have a script in which I have a farily long variable which I append to within a loop. Although, really it isn't too long for memory, the length of the variable is 40685 bytes (only 39.73 KB or 0.039 M😎. The crash it is causing results in the following line in the Apache error log:
[FONT=Courier New][notice] child pid exit signal Segmentation fault (11)[/FONT]
(where "" is a multi-digit number)
The general conclusion I've found with a bit of Google searching is that this is a PHP bug. I'm using PHP 4.1.2. Any other ideas? Should PHP be upgraded? If so, what version would you recommend?