You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2010/04/27 20:53:16 UTC

DO NOT REPLY [Bug 49204] New: mysql_close crashes worker

https://issues.apache.org/bugzilla/show_bug.cgi?id=49204

           Summary: mysql_close crashes worker
           Product: Apache httpd-2
           Version: 2.2.11
          Platform: PC
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: ian.hobson@ntlworld.com


It appears that any use of mysql_close() will result in the 

"Parent: child process exited with status 3221225477 -- Restarting." 

error. 

The following test file demonstrates. 
<?php 
$svr="localhost";
$db="coachmaster";
$usr="CoachRunner";
$pass="deya25as";
$link=mysql_pconnect($svr,$usr,$pass) 
     or die("Failed to connect with database.");
mysql_select_db($db,$link) 
     or die("Fail to select database.");
mysql_close();
echo "test ends\n";
?>
If I comment out the mysql_close all works properly. Passwords and usernames
etc are correct. 

I'm using the latest WAMP installer - Apache 2.2.11, php5.3.0 and MySQL 5.1.36. 
Basically a stardard install, with Mod_rewrite, error reporting on high.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 49204] mysql_close crashes worker

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49204

--- Comment #2 from MinhVN <mr...@gmail.com> 2010-07-05 22:38:24 EDT ---
I have problem the same, but i put $link from mysql_pconnect to  
mysql_close()->mysql_close($link), problem have solve.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 49204] mysql_close crashes worker

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=49204

Eric Covener <co...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID

--- Comment #1 from Eric Covener <co...@gmail.com> 2010-04-27 15:01:45 EDT ---
Crashes in mysql or PHP aren't bugs in the HTTP Server and don't belong in the
ASF bugzilla.  I suggest seeking out a peer-support PHP mailing list for
assistance in fixing your system.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org