This class allows you to use either the binary executable or the php function.
To use the binary you just need to install the statically compiled program, from the project home page and that's all you need.
To use the php extension you need to install the compiled libwkhtmltopdf and then download and compile Matt Reiferson's wrapper function. This may require you to update your freetype and font-config libraries depending on how old your versions are.
As for execution speed, I found little difference between using the binary and the php extension. The extension is, of course, slightly faster but unless you have 100s of pdfs to generate as a batch then you probably won't notice any real-world difference.
Personally I use the php extension because I'm a purist.
Note: when using the php extension it's important you understand the difference between "global" and "object" settings to the engine - see the libwkhtmltopdf documentation. (For the binary program this isn't important).
PHP-4-Business - 2012-04-12 07:37:17 - In reply to message 3 from PHP-4-Business
Just to expand on that; providing you have a compiler on your server then compiling the extension is really very easy. Unless you have a very old server OS (like I have) then your existing versions of font-config and freetype should be ok.
So to download and build phpwkhtmltox (the extension)
1) download and extract the wkhtmltopdf source package into /tmp
2) download and extract phpwkhtmltox