#46767 [Com]: FastCGI Error is returned when connecting to a MySQL server with PHP 5.3 RC1
| From: | peaceable_whale at hotmail dot com | Date: | Sun, 10 May 2009 07:50:12 +0000 |
| Subject: | #46767 [Com]: FastCGI Error is returned when connecting to a MySQL server with PHP 5.3 RC1 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-137087@lists.php.net to get a copy of this message | ||
ID: 46767
Comment by: peaceable_whale at hotmail dot com
Reported By: peaceable_whale at hotmail dot com
Status: Assigned
Bug Type: MySQLi related
Operating System: win32 only
PHP Version: 5.3.0RC1
Assigned To: mysql
New Comment:
Don't have the problem in RC2. Perhaps it has been fixed.
Previous Comments:
------------------------------------------------------------------------
[2009-03-26 04:47:45] peaceable_whale at hotmail dot com
The problem persists in RC1.
------------------------------------------------------------------------
[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] johannes@php.net
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] pajoye@php.net
oh my bad, right.
So not related (it must be the 1st report in weeks not related to 5.1
=)
> assigned to mysql
------------------------------------------------------------------------
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