PDFlib and PHP
Date: 03/17/08
(Web Development) Keywords: php, apache
For some reason the default version of PDFlib (5.0.3) distributed with the latest version of PHP (5.2.5) crashes on the default example of building a PDF, taking down Apache along with it with this in the error log:
PDFlib exception (fatal): [1202] PDF_set_parameter: Unknown key 'objorient'
Error in my_thread_global_end(): 253 threads didn't exit
[Mon Mar 17 12:54:45 2008] [notice] Parent: child process exited with status 99 -- Restarting.
Fortunately there is an easy fix for it. Simply download the latest version of PDFlib from http://www.pdflib.com and install/register its DLL with PHP.
Source: http://community.livejournal.com/webdev/470750.html