Skip to content

PHP recommendations always see memory limit as unlimited #2829

@ddb4github

Description

@ddb4github

Describe the bug
cli_check.php return incorrect memory_limit
Maybe, cli_check.php output is impacted by some ini_set usage

To Reproduce

# php -i | grep memory_limit
memory_limit => 800M => 800M
# ./cli_check.php recommends | sed -e 's/},/}\n/g'; echo
[{"name":"version","value":"5.4.0","current":"7.2.19-0ubuntu0.18.04.1","status":2}
{"name":"memory_limit","value":"400M","current":"-1M","status":2}
{"name":"max_execution_time","value":60,"current":"0","status":2}
{"name":"date.timezone","value":"<timezone>","current":"Asia\/Chongqing","status":2}]

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions