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

 ID:               46722
 Comment by:       neo_in_matrix at msn dot com
 Reported by:      bentogoa at gmail dot com
 Summary:          libmysql version 5.1.30 causes PHP crash
 Status:           Bogus
 Type:             Bug
 Package:          MySQL related
 Operating System: Windows XP
 PHP Version:      5.2.6

 New Comment:

The libmysql.dll bundled with php package is 5.0.51a. I want to use the
latest version (which is 5.1.48 as of writing this comment), but the
simplest mysql call ended up with the following error:



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

php.exe - Application Error

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

The instruction at "0x1000ac5a" referenced memory at "0x00000014". The
memory could not be "read".





Click on OK to terminate the program

Click on CANCEL to debug the program

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

OK   Cancel   

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



There is no reason that you refuse users to use newer version of
libmysql. Can you just update the dll?


Previous Comments:
------------------------------------------------------------------------
[2008-12-01 03:46:03] bentogoa at gmail dot com

so where can libmysql.dll 5.1.30 be downloaded ?

------------------------------------------------------------------------
[2008-11-30 17:06:07] [email protected]

Do not use any mysql DLL but the ones we provide with PHP releases.

------------------------------------------------------------------------
[2008-11-30 15:15:58] bentogoa at gmail dot com

Description:
------------
Upgrading libmysql.dll 5.0.51a (the one in php 5.2.6 package) to
libmysql.dll 5.1.30 (from the latest version of Mysql)causes php to
crash.



Tried by php CLI = php proccess ends

via Apache2.2.10 Web Server = The Apache server crashes. 



Reproduce code:
---------------
<?php

$link = mysql_connect('localhost', 'mysql_user', 'mysql_password');

if (!$link) {

    die('Could not connect: ' . mysql_error());

}

echo 'Connected successfully';

mysql_close($link);

?> 



Expected result:
----------------
print Connected successfully;

Actual result:
--------------
No Response, The Servers crashes.


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



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

Reply via email to