From:             bentogoa at gmail dot com
Operating system: Windows XP
PHP version:      5.2.6
PHP Bug Type:     MySQL related
Bug description:  libmysql version 5.1.30 causes PHP crash

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 bug report at http://bugs.php.net/?id=46722&edit=1
-- 
Try a CVS snapshot (PHP 5.2):        
http://bugs.php.net/fix.php?id=46722&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):        
http://bugs.php.net/fix.php?id=46722&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):        
http://bugs.php.net/fix.php?id=46722&r=trysnapshot60
Fixed in CVS:                        
http://bugs.php.net/fix.php?id=46722&r=fixedcvs
Fixed in CVS and need be documented: 
http://bugs.php.net/fix.php?id=46722&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=46722&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=46722&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=46722&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=46722&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=46722&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=46722&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=46722&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=46722&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=46722&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=46722&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=46722&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=46722&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=46722&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=46722&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=46722&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=46722&r=mysqlcfg

Reply via email to