|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-02-24 13:32 UTC] pajoye@php.net
[2009-02-24 13:37 UTC] pascal dot fellerich at ses-engineering dot com
[2009-02-24 13:40 UTC] pajoye@php.net
[2009-02-25 08:47 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 07:00:02 2025 UTC |
Description: ------------ PHP crashes when executing a query using PDO/Mysql. PHP is running as an Apache 2.0 handler. In the Apache error log, this line appears: [notice] Parent: child process exited with status 3221225477 -- Restarting. Sometimes, even the new PDO() call crashes already, but to reproduce the bug easily, just do a SELECT * FROM mysql.user - voila. Set up: XAMPP 1.7.0 with Apache 2.2.11, PHP 5.2.8, MySQL 5.1.30. The same crash could be reproduced in a 'bastardized' XAMPP setup with MySQL 5.0.67. Conversely, the setup Apache 2.2.11, PHP 5.2.6, MySQL 5.1.30 was OK. No crashes here. Reproduce code: --------------- $pdo = new PDO("mysql:host=localhost; dbname=mysql", 'root', $mypassword); $pdo->exec("SET NAMES 'utf8'"); $result = $pdo->query($sql, PDO::FETCH_NUM); //...bye bye! Expected result: ---------------- Obvious. Actual result: -------------- Apache Error Log: [notice] Parent: child process exited with status 3221225477 -- Restarting. Nothing more available.