Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:2316 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 7772 invoked from network); 13 Jun 2003 20:48:51 -0000 Received: from unknown (HELO mail.web-1hosting.net) (63.123.79.3) by pb1.pair.com with SMTP; 13 Jun 2003 20:48:51 -0000 Received: from web-1hosting.net (cs67106-24.houston.rr.com [67.10.6.24]) by mail.web-1hosting.net (Postfix) with ESMTP id D9C8C2D815D for ; Fri, 13 Jun 2003 15:48:50 -0500 (CDT) Message-ID: <3EEA372A.5080208@web-1hosting.net> Date: Fri, 13 Jun 2003 15:42:18 -0500 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4b) Gecko/20030523 X-Accept-Language: en-us, en MIME-Version: 1.0 To: internals@lists.php.net Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: mysql_info() segfault? From: tmiller@web-1hosting.net (Travis Miller) First let me say hello, and I hope I am on the correct list for posting this kinda of stuff. I seeing apache segfaults using apache 1.3.27, php 4.3.2, and mysql 3.23.56 while using mysql_info() inside of a class. Something like this: conn = mysql_connect($host,$user,$pass); mysql_select_db($db,$this->conn); } function doQuery($query){ $this->result = mysql_query($query,$this->conn); } function getQueryInfo(){ return(mysql_info($this->conn)); } } $sql =& new MySQL("host","user","pass","db"); $sql->doQuery("update table set num=10001"); echo "info: ".$sql->getQueryInfo(); ?> My actual application is much more complex, however the script above will still produce the seg fault on my machine. Thanks for any help, Travis Miller tmiller@web-1hosting.net