Re: Problem with PHP 3.0.12 and mSQL 2.0.11

From: Date: Thu, 01 Jan 1970 00:00:00 +0000
Subject: Re: Problem with PHP 3.0.12 and mSQL 2.0.11
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-10772@lists.php.net to get a copy of this message
Hrm.. Are you running PHP as a DSO? If so, I suggest upgrading to Apache-1.3.9 and recompiling PHP against that using --with-apxs. > I'm trying to use PHP 3.0.12 with mSQL 2.0.11 and Apache 1.3.6-7. > > PHP works, but including msql_connect() in a page causes a segmentation > fault and no data is returned. msql_connect worked correctly with msql > 2.0.4. I have recompiled PHP since upgrading mSQL. Here is the back trace > from gdb. Thanks for any help or direction you can provide. > > ******************** > #0 0x401875d4 in main_arena () > #1 0x400e7f06 in buffered_vfprintf (s=0x40187500, > format=0x402719f7 "\nConfig Error : %s at line %d\n", args=0xbfffe4f0) > at vfprintf.c:1752 > #2 0x400e3856 in _IO_vfprintf (s=0x40187500, > format=0x402719f7 "\nConfig Error : %s at line %d\n", ap=0xbfffe4f0) > at vfprintf.c:1018 > #3 0x400eb6f7 in fprintf (stream=0x40187500, > format=0x402719f7 "\nConfig Error : %s at line %d\n") at fprintf.c:32 > #4 0x40257427 in confErr () > #5 0x4025759f in setConfigEntry () > #6 0x402576a8 in processDirective () > #7 0x4025789b in msqlLoadConfigFile () > #8 0x40255676 in msqlConnect () > #9 0x4022e179 in php3_msql_do_connect (ht=0x80a8340, > return_value=0x40287c78, > list=0x40291320, plist=0x402912e0, persistent=0) at functions/msql.c:438 > #10 0x4022e287 in php3_msql_connect (ht=0x80a8340, return_value=0x40287c78, > list=0x40291320, plist=0x402912e0) at functions/msql.c:477 > #11 0x4024bb7f in phpparse () at control_structures_inline.h:934 > #12 0x4020dae0 in php3_parse (yyin=0x80a2100) at main.c:1553 > #13 0x4020ddbc in apache_php3_module_main (r=0x809f7b4, fd=19, > display_source_mode=0, preprocessed=0) at main.c:1934 > #14 0x4020afe2 in send_php3 () > #15 0x4020b04a in send_parsed_php3 () > #16 0x80517e1 in ap_invoke_handler () > #17 0x805e28b in ap_some_auth_required () > #18 0x805e2db in ap_process_request () > #19 0x8058c88 in ap_child_terminate () > #20 0x8058dbf in ap_child_terminate () > #21 0x8058eb9 in ap_child_terminate () > #22 0x8059368 in ap_child_terminate () > #23 0x8059920 in main () > #24 0x400b6cb3 in __libc_start_main (main=0x80596e0 <main>, argc=4, > argv=0xbffffda4, init=0x804da1c <_init>, fini=0x8065a8c <_fini>, > rtld_fini=0x4000a350 <_dl_fini>, stack_end=0xbffffd9c) > at ../sysdeps/generic/libc-start.c:78 > (gdb) > > > D. Nathan Bradley > nate@urlsports.com > 573-817-5771 > <http://www.urlsports.com> > ********************* > Just give me some wood and I'll build you a cabin. > > > >

« previous php.dev (#10772) next »