#46722 [Opn->Bgs]: libmysql version 5.1.30 causes PHP crash

From: Date: Sun, 30 Nov 2008 17:06:08 +0000
Subject: #46722 [Opn->Bgs]: libmysql version 5.1.30 causes PHP crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-131495@lists.php.net to get a copy of this message
ID: 46722 Updated by: pajoye@php.net Reported By: bentogoa at gmail dot com -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Windows XP PHP Version: 5.2.6 New Comment: Do not use any mysql DLL but the ones we provide with PHP releases. Previous Comments: ------------------------------------------------------------------------ [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/?id=46722&edit=1

« previous php.bugs (#131495) next »