php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #67155 Allowed memory size exhausted by phpinfo()/mysqlnd
Submitted: 2014-04-30 10:40 UTC Modified: 2014-05-06 09:33 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:0 (0.0%)
From: a dot schilder at gmx dot de Assigned: mysql (profile)
Status: Closed Package: MySQL related
PHP Version: 5.6.0beta1 OS: Windows 7
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: a dot schilder at gmx dot de
New email:
PHP Version: OS:

 

 [2014-04-30 10:40 UTC] a dot schilder at gmx dot de
Description:
------------
I don't use MySQL anymore, so I have deactivated all MySQL extensions in the php.ini. 

After the update to PHP 5.6beta1 (from 5.6alpha3), I couldn't load the phpinfo() anymore and get the following error, right after the beginning of a "mysqlnd" part (which shouldn't be there):

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 133955572 bytes) in C:\Apache24\htdocs\info.php on line 2

Test script:
---------------
<?php
phpinfo();

Expected result:
----------------
phpinfo() output without MySQL and without memory error

Actual result:
--------------
phpinfo() including a MySQL part with the following output (after that, the output ends):

mysqlnd

Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 133955572 bytes) in C:\Apache24\htdocs\info.php on line 2

mysqlnd: enabled
Version: mysqlnd 5.0.11-dev - 20120503 - $Id: 551c5f34ac9412d6b8ef10575425da9a45e7ba1f $
Compression: supported
core SSL: supported
extended SSL: not supported
Command buffer size: 4096
Read buffer size: 32768
Read timeout: 31536000
Collecting statistics: Yes
Collecting memory statistics: Yes
Tracing: n/a
Loaded plugins: mysqlnd,debug_trace,auth_plugin_mysql_native_password,auth_plugin_mysql_clear_password 

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2014-04-30 10:43 UTC] a dot schilder at gmx dot de
Additional note: Enabling the MySQL extension helps to work around the problem.
 [2014-05-01 01:11 UTC] johannes@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: mysql
 [2014-05-01 01:12 UTC] johannes@php.net
-Package: Reproducible crash +Package: MySQL related
 [2014-05-06 09:33 UTC] ab@php.net
-Status: Assigned +Status: Closed
 [2014-05-06 09:33 UTC] ab@php.net
fixed in 9e76e87ca961b57737f8f9db68972c5a9ce9b1f7
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jun 03 01:01:26 2025 UTC