PHP bindings for the fabulous libwkhtmltox
Special thanks to antialize for creating wkhtmltopdf
For parameters and settings (for users familiar with the command line utility) see:
http://www.cs.au.dk/~jakobt/libwkhtmltox_0.10.0_doc/pagesettings.html
$ phpize
$ ./configure
$ make install
edit your php.ini
and add:
extension=phpwkhtmltox.so
- CentOS 5.5, PHP 5.3.3 (64-bit)
- Mac OSX 10.6.4 Snow Leopard, PHP 5.2.12 (64-bit)
- you need
libwkhtmltox.*
somewhere in your LD path (/usr/local/lib
) - you need the directory
src/include/wkhtmltox
fromwkhtmltopdf
somewhere on your include path (/usr/local/include
)
Until this bug is fixed you need qt_menu.nib
directory from the QT source tree in the same directory as your libwkhtmltox.*
library files