I upgraded to PHP5 from PHP4, in desperation, and lo, PHP apps can now once more connect to the network.
I'd gone as far as to ktrace an httpd process running a PHP app, and found that it produced an identical syscall trace to PHP run from the command line - up until it tried to read back from the socket, whereupon it gave a one-byte buffer, so read only the first byte, then hung thereafter. While when run from the CLI, the same PHP code gives a buffer of 0x2000 bytes and works fine.
So, I tried the one last thing I could think of (having failed to manage to convince gdb to attach to a running httpd child process) and moved to PHP5.
And, wow, it worked!
At the cost of breaking all our WordPress blogs. They don't show article bodies any more, and output endless complaints to the error log.
Still, now outgoing network access is fixed, webmail works again, my RSS aggregrator works, and it's just occured to me that the recent overwhelming flood of blog spam I've had has probably been due to Akismet being unable to reach its server!
Whew. I'm just in the final stages of migrating love.warhead.org.uk's backend storage over to a new (much bigger and faster) server.
This stage consists of poking at the things that aren't working right, and finding out why.
For example, my blog seems to be showing the very first posts we ever made to it on the front page...
You are n9ot going to believe me :/
I fell in a whole - I got stuck in said whole and had to be puled out, I cut my hands on a digger bucket and felt very very stupid.

We are having flood defenses put in and the trench had grown abit since I last looked at it so at the weekend I managed to (in the dark) walk straight into it and slide down down, over the frozen earth and became wedged between the side of the whole and the digger bucket with my legs uselessley waggling and no way to bend my kness to get a perchase to climb out.
I'm afraid I screamed as I fell in and then finiding I was actually stuck begain to yell at which point Dad and Alaric came running closely followed by a little Jeany bow who got most upset seeing me stuck in the whole.
I for some stupid once out became so shaky you'd have thought that I had been doused in ice cold water (well in fact I was just above the ice cold water as my breasts wouldnt let me fall all the way through).
Ontop of that we missed the Grift Service with the scouts so I have no idea what happened to my scouts who went - weather they found their seats ok and stuff :/
I am quiet bruised and have an infected cut on my hand from it all, my pelvis also desided that the knock was enough to make it start clicking again - sigh.
Yes - Good news!!!!
Firstly Hydrogen is in the clear - stitches removed, antibiotics finished and running about outside. The vetinary nurse told Al we had looked after her really well and that the wound had healed fantastically - thank goodness all that ick removal was good for something 🙂
Secondly the insurance peeps phoned me today on my mobile and said that I could fill in the missing form over the phone! Which I did and so the insurance money for the furniture is wending its way to us as we speak 🙂
thirdly mums wound has actually started to heal now that the cancer nurses have told her to leave the dressing off of it etc... This means that her radiotherapy will actually be able to start 🙂
Forthly we are coming down to London for Christmas and we're hoping to meet up with lots of peeps we havent seen for what seems like several life times 🙂
I'm afriad I have not blogged for a while now this was mainly due to the fact that I just couldnt face typing yet more depressing news. The builders who I had been waiting for didnt turn up and after the normal five different people and no one knowing who I am game I finially got through to the actual builders. 'Ah yes we've been trying to contact you, the insurance company says its got to go back to the assessors and that we cant start work yet. Sorry luv' Mew! Mew! Mew!
So we are back to the old waiting game and getting back into the house stretches further away than ever before.
The to our insurence payout for the contence, they say we have to fill in some magical form they sent us the week of the flood and that without it we can not get our money - I can not find the form - sigh.
Hydrogen cost me another £20 in antibiotics becuase the poor little things wound was still oozing sticky gunk which wasn't good, I have to pick the stuff off of her everyday and wash her and make sure that the scabs over where her drain came out is scratched off and the wound kept open to drain. (Hope that made scense to someone).
Mum still has a gaping wound and so radiotherapy starts after christmas when hopefully it will have at least started to heal. Once on radiotherapy it has been advised that we dont go and see her as Jean will give her colds and stuff.
Sigh. Sorry I know this is all abit moany and stuff and I hope to have some cheerful stuff for you soon. But for now GRRRRRRRRRRRRRRR!