Re: Re: pdo_informix
| From: | Antony Dovgal | Date: | Thu, 07 Oct 2010 12:19:57 +0000 |
| Subject: | Re: Re: pdo_informix | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-7725@lists.php.net to get a copy of this message | ||
On 10/07/2010 03:58 PM, jan declercq wrote:
> #0 0x000000000056cf8e in _zend_hash_add_or_update ()
> (gdb) bt
> #0 0x000000000056cf8e in _zend_hash_add_or_update ()
> #1 0x00007f8bfb8c031f in php_pdo_register_driver () from
> /usr/lib64/php5/extensions/pdo.so
> #2 0x00007f8bfd826e70 in zm_startup_pdo_informix (type=<value optimized
> out>, module_number=<value optimized out>) at
> /tmp/pear/download/PDO_INFORMIX-1.2.6/pdo_informix.c:110
> #3 0x0000000000561f8e in zend_startup_module_ex ()
> #4 0x000000000056d984 in zend_hash_apply ()
> #5 0x000000000056594a in zend_startup_modules ()
> #6 0x000000000050f236 in php_module_startup ()
> #7 0x00000000005f1a8d in ?? ()
> #8 0x00000000005f2490 in ?? ()
> #9 0x00007f8bfdc60b7d in __libc_start_main () from /lib64/libc.so.6
> #10 0x000000000041b5f9 in _start ()
>
>
>
> Loads of "Missing separate debuginfo" :(
> I'll have to look for building php in debug mode I guess?
>
Unpack the tar.gz and add these lines somewhere at the end of config.m4 (but before the final
"fi", of course):
ifdef([PHP_ADD_EXTENSION_DEP],
[
PHP_ADD_EXTENSION_DEP(pdo_informix, pdo)
])
Then rebuild the extension using the usual procedure:
phpize && ./configure <..your options..> && make install
These lines make sure PDO itself is loaded before PDO_INFORMIX and all the
internal PDO structures are initialized before PDO_INFORMIX uses them.
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime statistics for PHP