|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75620 PHP CLI and CGI produce out of memory
Submitted: 2017-12-04 10:36 UTC Modified: 2018-05-05 21:56 UTC
From: PalDog at mailinator dot com Assigned: cmb (profile)
Status: No Feedback Package: Reproducible crash
PHP Version: 7.2.0 OS: RedHat
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: PalDog at mailinator dot com
New email:
PHP Version: OS:


 [2017-12-04 10:36 UTC] PalDog at mailinator dot com
PHP CLI and CGI produce out of memory error - even when trying to run it to show binary version:

    (after configure+make)
    $ sapi/cli/php -v

    Out of memory

It was built with default


The error shown above is produced with all command line paramters except for "-h/--help"!

Test script:
The problem occurrs without any script.

Expected result:
The "out of memory error" show not happen.

Actual result:
$ sapi/cli/php -v

Out of memory


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-02-14 18:35 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2018-02-14 18: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 for *NIX and for Win32

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.
 [2018-05-05 21:56 UTC]
-Status: Feedback +Status: No Feedback
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Feb 07 03:05:52 2023 UTC