php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: alexdow__ at hotmail dot com
New email:
PHP Version: OS:

 

 [2005-11-18 08:17 UTC] alexdow__ at hotmail dot com
Description:
------------
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.

Patches

Pull Requests

History

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] tony2001@php.net
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
http://bugs.php.net/bugs-generating-backtrace.php

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] wez@php.net
Upgrade to latest release.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 05:01:27 2024 UTC