Hey man, you tell me the memory management php reserves? None. The only problem with C is the memory allocation, and as far as I can see, the webserver allocates the apropriate ammount making it much easier and secure.

So, yes PHP is much more secure with C not having to allocate the memory to it. Hey, look at php.net - see why they reccomend using the asapi modules, hmm? :P