I sympathis with raph completey - I've managed to write some PHP code which kills apache:
[Sun Aug 17 17:20:03 2003] [notice] child pid 4989 exit signal Segmentation fault (11) [Sun Aug 17 17:20:03 2003] [notice] child pid 4986 exit signal Segmentation fault (11) [Sun Aug 17 17:20:04 2003] [notice] child pid 5018 exit signal Segmentation fault (11) [Sun Aug 17 17:20:05 2003] [notice] child pid 5019 exit signal Segmentation fault (11)I have no idea why this happens - I have two bits of code 'view.php' and 'common.inc'. If I include common.inc within view.php I get the segfaults - if I don't I don't ... but my code doesnt work!
What does the common code do? It connects to a database - and defines some functions which are never called. Wierd.
I'm not sure how I should be debugging this. So I'm off for a curry instead!