Hi,
1 - Windows version used: Win7 enterprise, 64bit
2 - Version WampServer: 2.5, tried both 32bit or 64bit but same problem
3 - Apache Version: 2.4.9
4 - PHP Version:5.5.12
5 - MySQL Version: 5.6.17
6 - What color is the WampServer icon (in the notification area of the taskbar): green
you can read my question from here: [
stackoverflow.com]
Fundamentally apache is crashing while I execute the following code:
$conn->query("SET @res = ''"
;
$mysqli=$conn;
if (!($stmt = $mysqli->prepare("CALL retrieve_matches(5,3, 16, 2, false, @res)"
)) {
echo "Prepare failed: (" . $mysqli->errno . "
" . $mysqli->error;
}
if (!$stmt->execute()) {
echo "Execute failed: (" . $stmt->errno . "
" . $stmt->error;
}
do {
if ($res = $stmt->get_result()) { //Apache crash on this call
printf("---\n"
;
var_dump(mysqli_fetch_all($res));
mysqli_free_result($res);
} else {
if ($stmt->errno) {
echo "Store failed: (" . $stmt->errno . "
" . $stmt->error;
}
}
} while ($stmt->more_results() && $stmt->next_result());
Apache is crashing with error:
AH00428: Parent: child process 9628 exited with status 255 -- Restarting.
I checked windows event and I found httpd.exe is crashing caused by php5ts.dll
The same code above that make Apache crashing is working correctly if I just change the number in input of the stored procedure like:
if (!($stmt = $mysqli->prepare("CALL retrieve_matches(5,6, 16, 2, false, @res)"
)) {
but I Tried from MySQl workbench and both calls are working fine...
Do you have any suggestion what I should do? I'm currently stucked with development