|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35272 PDO->prepare() (mysql) causes apache 1.3 to crash
Submitted: 2005-11-18 08:17 UTC Modified: 2006-05-07 15:12 UTC
From: alexdow__ at hotmail dot com Assigned:
Status: Closed Package: PDO related
PHP Version: 5.1.0RC5 OS: Windows XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: alexdow__ at hotmail dot com
New email:
PHP Version: OS:


 [2005-11-18 08:17 UTC] alexdow__ at hotmail dot com
Preparing a query on MySQL 5.0 using PDO results in Apache crashing.

Reproduce code:
$pdo = new PDO('mysql:host=localhost;dbname=somedb','user','pass',array(PDO::ATTR_PERSISTENT => true));				
$statement = $pdo->prepare($argQuery);

Expected result:
I expect $statement to be a proper PDOStatement object.

Actual result:
Actual result is Apache crashing. I'm not sure how to generate backtraces in windows other than debugging through VS.NET, if you want that.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-11-18 09:07 UTC] alexdow__ at hotmail dot com
$query = "INSERT INTO users (username,email,country,city,password,creation_date,status)
                      VALUES (:username,:email,:country,:city,:password,NOW(),1)";

here is a query I use
 [2005-11-18 09:35 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

 [2005-11-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-05-07 15:12 UTC]
Upgrade to latest release.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Oct 19 10:03:36 2021 UTC