Got it... PerlModule DBI PerlModule DBD::mysql PerlModule HTML::Embperl in my httpd.conf Steve Wilder Matrix Interactive, Inc. http://www.matrixinteractive.net/ Desk: 248.814.8235 Cell: 248.894.3128 Fax : 248.814.8236 -----Original Message----- From: Gerald Richter [mailto:[EMAIL PROTECTED]] Sent: Thursday, February 08, 2001 8:08 AM To: Steve Wilder Cc: [EMAIL PROTECTED] Subject: Re: EMB Perl Seg fault Hi Steve, > > Well, I still have not figured it out... unless PHP 4.04pl1 is over-riding > my ./configure options. > > How would I find out which MySQL client PHP is using? php_info() says my > configure options were: > './configure' '--with-mysql' '--with-apache=../apache_1.3.12' > '--enable-track-vars' > > But, I know I ran configure with "--with-mysql=/usr" > Looks like PHP have discarded your path, but I can't say because I don't use PHP > Also, if PHP is using it's own MySQL client, why would mod_perl Database > connections still work? > Also a good question. I don't know. I would expect that either mod_perl _and_ Embperl or both work not. But maybe it has something to do with dynamic loading, because Embperl loads the modules in another way then a mod_perl handler. To avoid this difference, I have suggest to preload the modules. Did you tried that ? Gerald P.S. I think we should discuss this on the mailing list, because there are people listening who has successfully installed this setup > Steve Wilder > Matrix Interactive, Inc. > http://www.matrixinteractive.net/ > Desk: 248.814.8235 > Cell: 248.894.3128 > Fax : 248.814.8236 > > -----Original Message----- > From: Gerald Richter [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 07, 2001 9:44 AM > To: Steve Wilder > Cc: Embeded PERL ML > Subject: Re: EMB Perl Seg fault > > > > > > Did you see this post? > > > > Oops, of course I saw it (and answered to it), but it seems I should take > some more sleep and less working ;-) > > > Everything is working okay, except for Embperl. Whenever I try to > connect > > to the mySQL database, Apache SEG faults, with no messages in the > > embperl.log. > > > > Here is a stack backtrace from gdb: > > > > (gdb) BT > > #0 0x80950c1 in mysql_real_connect (mysql=0x0, host=0x0, > > user=0x85338b0 "www", passwd=0x85338c0 "******", > > db=0x8533e28 "topconlaser", port=0, unix_socket=0x0, client_flag=0) > > at libmysql.c:1147 > > ... but the backtrace lead back to what everybody initial wrote. It seems to > be a problem between the two mysql drivers... > > I don't have PHP installed here, so I can't test it. The only thing that > comes to my mind, if you not already done this, is to load all involved Perl > modules at server startup time. Some times strange things happening if you > don't do that with Perl modules that have XS extentions like Embperl and DBI > e.g. > > PerlModule DBI > PerlModule DBD::mysql > PerlModule HTML::Embperl > > maybe this helps, but I don't know > > Gerald > > > > > > ------------------------------------------------------------- Gerald Richter ecos electronic communication services gmbh Internetconnect * Webserver/-design/-datenbanken * Consulting Post: Tulpenstrasse 5 D-55276 Dienheim b. Mainz E-Mail: [EMAIL PROTECTED] Voice: +49 6133 925131 WWW: http://www.ecos.de Fax: +49 6133 925152 -------------------------------------------------------------
BEGIN:VCARD VERSION:2.1 N:Wilder;Steve FN:Steve Wilder ORG:Matrix Interactive, Inc. TITLE:President TEL;WORK;VOICE:(248) 814-8235 TEL;CELL;VOICE:(248) 894-3128 TEL;WORK;FAX:(248) 814-8236 EMAIL;PREF;INTERNET:[EMAIL PROTECTED] REV:20010203T060545Z END:VCARD
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
