Install PDFLib with PHP

Posted by Andrew McCombe on Thu Jul 9, 2009

To install the PDFLib functionality you need to do the following (on an Ubuntu box).

Then install PDFLib using pecl:

This will ask for the path to PDFlib headers. Select ‘1’ and enter:

Then hit enter. It should then finish.
Finally, add the pdf module to the PHP configuration and restart apache:

To check that it works, enter: