Topic on Project:Support desk

Error "Unable to load dynamic library..."

4
Dave88008 (talkcontribs)

I'm moving my 1.17 (PHP 5.2 at each) install to a new host. I installed 1.17 at the new host with database and verified the site worked. I then uploaded all the extensions, images, and Local Settings from the old. Also set the RewriteRules in Apache.

The Rewrite shows up in the address bar but the application doesn't work.

Error logs give me the following with each attempt to access the site"

[10-Mar-2013 09:36:02 America/Denver] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/timezonedb.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0

Suggestions? Thanks much!

88.130.96.168 (talkcontribs)

PHP somewhere tries to load the library timezonedb.so. However, that file is not there. Find the place, where you instruct PHP to load that library. Most likely that is in a php.ini file. Either remove the load call or fix it to point to the correct location of that library.

Dave88008 (talkcontribs)

Thanks, I'm pretty new to this but will try to find all that.

88.130.96.168 (talkcontribs)

You can find the php.ini files, which are used by checking the output of a PHP file with the following content:

 <php phpinfo(); ?>

The value for extension_dir might be wrong. Another possibility is that in one of the php.ini files, this extension is included using an absolute path, which does not exist.

Reply to "Error "Unable to load dynamic library...""