php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #131 Memory limit, default on or off?
Submitted: 1998-03-02 20:15 UTC Modified: 1998-03-03 00:50 UTC
From: ars at ziplink dot net Assigned: rasmus (profile)
Status: Closed Package: Installation problem
PHP Version: 3.0 Latest CVS OS: FreeBSD
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.
Password:
Status:
Package:
Bug Type:
Summary:
From: ars at ziplink dot net
New email:
PHP Version: OS:

 

 [1998-03-02 20:15 UTC] ars at ziplink dot net
In configure.in:

AC_MSG_CHECKING(whether to enable a memory limit)
AC_ARG_ENABLE(memory-limit,
[  --enable-memory-limit   Compile with memory limit support. ],
[
  if test "$enableval" = "yes"; then
    AC_DEFINE(MEMORY_LIMIT, 1)
    AC_MSG_RESULT(yes)
  else
    AC_DEFINE(MEMORY_LIMIT, 0)
    AC_MSG_RESULT(no)
  fi
],[
  AC_DEFINE(MEMORY_LIMIT, 1)
  AC_MSG_RESULT(no)
])

In the default action (the last AC_DEFINE) it's being set to
1, but AC_MSG_RESULT is saying "no" it should either say yes,
or be set to 0. Since the text is enable-memory-limit it
seems the intent was for it to be disabled by default?

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-03-03 00:50 UTC] rasmus
memory_limit configure inconsistency fixed - off by default
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 13:01:30 2024 UTC