ID: 43818 Updated by: [EMAIL PROTECTED] Reported By: john at jcoppens dot com -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Linux PHP Version: 5.2.5 New Comment:
Sorry, but this is correct. You need to have extension_dir set to the base directory, which is the default if you install PHP from sources. Perhaps your distribution changes this, or perhaps you changed the extension_dir setting yourself. As to the comment about the timezone db, it's documented both here: http://no2.php.net/manual/en/ref.datetime.php and: http://no2.php.net/manual/en/timezones.php Previous Comments: ------------------------------------------------------------------------ [2008-01-11 13:42:22] john at jcoppens dot com Description: ------------ Sorry... It's not quite as simple as 'pecl install timezonedb': It executes fine, but it instructs adding extension=timezonedb.so to php.ini. This is not correct, and causes php to complain about not finding the .so extension. The correct addition would be: extension=no-debug-non-zts-20060613/timezonedb.so I did quite extensive searching on the timezone thing before complaining and never found the reference to PECL & Co... Shouldn't this be documented more extensively? John Reproduce code: --------------- pecl install timezonedb Expected result: ---------------- No problems after adding 'extension=timezonedb.so Actual result: -------------- PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/timezonedb.so' - /usr/lib/php/extensions/timezonedb.so: cannot open shared object file: No such file or directory in Unknown on line 0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=43818&edit=1