|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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-2024 The PHP Group
All rights reserved.
Last updated: Mon Apr 22 07:01:29 2024 UTC