Link to home
Start Free TrialLog in
Avatar of mstrelan
mstrelanFlag for Australia

asked on

PHP Warning: PHP Startup: Unable to load dynamic link library.

Hi experts,

I have a cPanel hosting account with a cron job invoking php from the command line. Every time it runs it adds the following error to my error_log, which eventually gets very large.


[17-Aug-2010 13:37:01] 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
[17-Aug-2010 13:37:01] PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_ldap.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20060613/php_ldap.so: cannot open shared object file: No such file or directory in Unknown on line 0

Open in new window


My hosting supplier has no idea why. Any ideas? Where can I look?

Cheers,
Michael
Avatar of hernst42
hernst42
Flag of Germany image

Are you sure those two files exists on that server in that directory? Else check via console

ldd /usr/local/lib/php/extensions/no-debug-non-zts-20060613/timezonedb.so

if all needed libs for those so are available.
Avatar of mstrelan

ASKER

they do not exist, do you know where i can get them? i have full whm root access
ASKER CERTIFIED SOLUTION
Avatar of hernst42
hernst42
Flag of Germany image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hosting supplier just found the same solution, so thanks hernst42!