News Feed
Jobs Feed
Sections




News Archive
Marcus Bointon's Blog:
Compiling wkhtmltopdf on Mac OS X 10.7 Lion
May 16, 2012 @ 11:55:26

Marcus Bointon has written up the process he took to get the PHP extension for Wkhtmltopdf (a conversion tool for HTML to PDF generation) up and working on a Mac OSX machine - not as easy a task as it sounds.

Wkhtmltopdf is extremely cool. I've used qtwebkit for generating server-side page images before using python-webkit2png, and that's fine (unlike using Firefox running in xvfb!), but I need to produce PDFs. So, I looked around and found several neat, simple PHP wrappers for calling wkhtmltopdf, and even a PHP extension. "Great", I thought, "I'll just install that and spend time working on the layouts since the code looks really simple". I spoke too soon.

He goes through each step of the process - installing the needed wkhtmltox and libwkhtmltox support, having to manually compile wkhtmltopdf and some of the small changes you'll need to make to the Makefile to get things to cooperate. He shows where to put the resulting application files and the name of the extension to enable in your php.ini.

0 comments voice your opinion now!
compile osx wkhtmltopdf problem manual


blog comments powered by Disqus

Similar Posts

Pierre-Alain Joye's Blog: Zip 1.7.0 Beta Release & New Zip/Enchant Documentation

PHPMac.com: Building and Installing Apache 2.2.2 and PHP 5.1.3 (or 5.1.4) on Mac OS X 10.4.6

UncleCode.com: Install PHPUnit Manually without Pear for a Single Project

Rob Richards' Blog: PHP, Oracle and SELinux

Stefan Mischook's Blog: Does Wordpress 2.5.1 suck?


Community Events











Don't see your event here?
Let us know!


code tool community phpunit testing unittest opinion example series conference development functional release framework podcast interview application introduction language zendframework2

All content copyright, 2013 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework