Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to find timezonedb.so

Tags:

php

apache

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.

like image 368
James Stafford Avatar asked Jan 22 '26 05:01

James Stafford


1 Answers

I had a similar warning in my error log.

My php.ini already had the timezonedb.os entry, but the library was missing at the extension folder.

I asked my provider to fix the issue and they did, but instead of include the library they commented out the timezonedb.so in php.ini.

The warning disappeared from the error.log. I guess the library is not needed in my PHP version 5.2.17

like image 190
Luis Avatar answered Jan 24 '26 17:01

Luis



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!