Re: [PHP-DEV] help with backtrace/debuging

2005-04-29 Thread Greg Donald
On 4/29/05, Dan Scott <[EMAIL PROTECTED]> wrote: > On 4/29/05, Greg Donald <[EMAIL PROTECTED]> wrote: > That is not entirely true; PDO_ODBC, for example, comes up as > "PDO_ODBC". Unfortunately I don't have mysql-devel installed so I > can't confirm your report for PDO_MYSQL. > cat extensions.php

Re: [PHP-DEV] help with backtrace/debuging

2005-04-29 Thread Dan Scott
On 4/29/05, Greg Donald <[EMAIL PROTECTED]> wrote: > On 4/28/05, Dan Scott <[EMAIL PROTECTED]> wrote: > > So three things: > > 1. If you print the results of get_loaded_extensions(), you'll see > > that pdo turns up as 'PDO', but you're looking for 'pdo' -- so the > > result of your first if() is F

Re: [PHP-DEV] help with backtrace/debuging

2005-04-29 Thread Greg Donald
On 4/28/05, Dan Scott <[EMAIL PROTECTED]> wrote: > So three things: > 1. If you print the results of get_loaded_extensions(), you'll see > that pdo turns up as 'PDO', but you're looking for 'pdo' -- so the > result of your first if() is FALSE. Yup. Confusing that the base extension is PDO, but th

Re: [PHP-DEV] help with backtrace/debuging

2005-04-28 Thread Dan Scott
On 4/28/05, Greg Donald <[EMAIL PROTECTED]> wrote: > On 4/28/05, Dan Scott <[EMAIL PROTECTED]> wrote: > > Does the segfault only occur when you load PDO into mod_php? > > > > If you haven't already tried it, try using PHP CLI to reproduce the > > problem instead; that removes one major variable (Ap

[PHP-DEV] help with backtrace/debuging

2005-04-26 Thread Greg Donald
I was looking into using the Pecl PDO extension a couple of days ago. I got it installed but when I try to use it dies. Here's the bug report I filed: http://pecl.php.net/bugs/bug.php?id=4217&edit=2 I rebuilt my mod_php with debugging but I still can't get a backtrace using gdb. Do I have to a