I was attempting to use a new library today that I found on the internet to convert HTML to PDF since it has recently become apparent that wkhtmltopdf is not an option since I do not seem to have proper permissions on the webserver I am using. I am using the library Htmltofpdf.
when I run the file that calls the library I get this error every time (if I remove the require statement I no longer get the error)
the error I am getting is
[26-Aug-2012 13:11:05] PHP Warning: PHP Startup: Unable to load dynamic library ‘/usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so’ – /usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0
does anyone know how I can go about fixing this – my tech support for my site “luckily” is in india and they dont understand what I need unless I spell it out for them.
Make sure your library is included in the php.ini settings:
e.g :
You can just drop the library in
/usr/local/lib/php/extensions/and then in your php.ini add the following line: