![Picture of PHP-4-Business Picture of PHP-4-Business](/picture/user/588675.png)
PHP-4-Business - 2012-04-11 08:05:06
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).