#43818 [Opn->Bgs]: Wrong indications from pecl call
| From: | derick@php.net | Date: | Fri, 11 Jan 2008 13:47:50 +0000 |
| Subject: | #43818 [Opn->Bgs]: Wrong indications from pecl call | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-121196@lists.php.net to get a copy of this message | ||
ID: 43818
Updated by: derick@php.net
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