More PHP segfaults

Another case of PHP segfaulting. This time, at least, it was behaving deterministically and by inserting

print "Meep!";
flush();

throughout various bits of the code I managed to track down the problem. It was segfaulting trying to read a config file to which it didn't have read permissions.

PHP is bad.

2 Responses to “More PHP segfaults”

  1. Philip Stubbs Says:

    If PHP is bad, what is good?

  2. mauve Says:

    I am intending to post about that in due course.

    PHP is poorly designed, inconsistent in implementation, and unstable. It's also extremely quick to develop with for small sites with some minor scripting.

    I would recommend a framework like Zope, Plone, Ruby on Rails, django or J2EE for projects you would describe as 'web applications' rather than 'web sites' (although J2EE is quite slow to develop with).

Leave a Reply