|  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
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
4 + 6 = ?
Subscribe to this entry?

 [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 02:05:48 2023 UTC