Because I still can't get it working, and this might be useful: php for pdf at phpbuilder.com. I'm hoping that somewhere among the many comments and pages there'll be a hint to what's not working for me.
(An hour later, and it works. zlib needed to be compiled as a shared library, or something. Or maybe it was one of the other things I tweaked. But anyway. I'm getting somewhere.)