#46767 [Asn]: FastCGI Error is returned when connecting to a MySQL server with PHP 5.3 RC1

[email protected] ("peaceable_whale at hotmail dot com")
Newsgroups php.bugs
Message-ID <[email protected]>
 ID:               46767
 User updated by:  peaceable_whale at hotmail dot com
-Summary:          FastCGI Error is returned when connecting to a MySQL
                   server with PHP 5.3 Alpha3
 Reported By:      peaceable_whale at hotmail dot com
 Status:           Assigned
 Bug Type:         MySQLi related
 Operating System: win32 only
-PHP Version:      5.3.0alpha3
+PHP Version:      5.3.0RC1
 Assigned To:      mysql
 New Comment:

The problem persists in RC1.


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

[2009-02-02 14:06:14] peaceable_whale at hotmail dot com

No. The error occurs once the script connects to a database.

Test case:

<?php
$mysqli=new mysqli(HOST,USERNAME,PASSWORD);
$connection_closed=$mysqli->close();
echo $connection_closed?"Database connection has been closed
successfully":"An error occurred when closing database connection";
?>

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

[2009-02-02 13:43:30] [email protected]

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.

Does a simple mysql_connect() or mysqli_connect() work? Do simple
queries work? Do other applications than phpMyAdmin work?

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

[2009-02-02 13:35:42] peaceable_whale at hotmail dot com

Thanks for changing it to Assigned :)

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

[2009-02-02 13:33:57] [email protected]

oh my bad, right.

So not related (it must be the 1st report in weeks not related to 5.1
=)

> assigned to mysql

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

[2009-02-02 13:32:22] peaceable_whale at hotmail dot com

Well, mysqlnd is in use as it is turned on by default in the Windows
builds:

mysqli

MysqlI Support	enabled
Client API library version 	mysqlnd 5.0.5-dev - 081106 - $Revision:
1.3.2.21 $
Active Persistent Links 	0
Inactive Persistent Links 	0
Active Links 	0 

mysqlnd

mysqlnd	enabled
Version 	mysqlnd 5.0.5-dev - 081106 - $Revision: 1.3.2.21 $
Command buffer size 	2048
Read buffer size 	32768
Collecting statistics 	Yes
Collecting memory statistics 	No

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

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/46767

-- 
Edit this bug report at http://bugs.php.net/?id=46767&edit=1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.