ID: 14486
Updated by: mfischer
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: Reproducible crash
Operating System: Linux 2.4.x
PHP Version: 4.0.6
New Comment:

Is there a reason why you include the external libraries?

Try compiling without the --with-mysql swich; you don't need it. PHP sources come with 
the libmysqlclient sources.

If still crashes, compile with --enable-debug and give us a backtrace with gdb.

Feedback.

Previous Comments:
------------------------------------------------------------------------

[2001-12-13 12:01:24] [EMAIL PROTECTED]

i tried mysql-3.23.37 and 4.0-alpha.

configure options are:

'./configure' '--with-apxs=/opt/pdp/apache/bin/apxs' '--with-zlib' 
'--with-mysql=/opt/pdp/mysql' '-- enable-sysvsem' '--enable-sysvshm'

please note that table hund does not exist as stated in the topic.

------------------------------------------------------------------------

[2001-12-13 09:19:59] [EMAIL PROTECTED]

Not reproducable with 4.0.6.

Are you using external mysql libs?

Please give latest 4.1.0 a try.

------------------------------------------------------------------------

[2001-12-13 09:12:22] [EMAIL PROTECTED]

Can you make a backtrace? >> bugs.php.net/how-to-report.php

Derick

------------------------------------------------------------------------

[2001-12-13 09:01:29] [EMAIL PROTECTED]

<?
mysql_connect("localhost","hund","test");
mysql_select_db("test");

mysql_query("describe hund");

echo "test";
?>

This small script causes a funny segfault.
Tested with apache 1.3.20 and 1.3.19 with php versions 4.0.2 and 4.0.6

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=14486&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to