Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Memory is not correctly identified when value is not in megabytes #3159

Closed
ddb4github opened this issue Dec 27, 2019 · 1 comment
Closed
Assignees
Labels
bug Undesired behaviour installer Installation issue resolved A fixed issue
Milestone

Comments

@ddb4github
Copy link
Contributor

Describe the bug
Installation Wizard can not identify PHP-->memory_limit when unit is not 'M'

To Reproduce
Steps to reproduce the behavior:

  1. Prepare Cacti 1.2.7 or earlier env
  2. Edit /etc/php.ini, set memory_limit = 2G
  3. Restart httpd service
  4. Web access Cacti and Click Next
  5. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
set memory_limit to 2G in php.ini
image

set memory_limit to 2048M in php.ini
image

@netniV
Copy link
Member

netniV commented Dec 27, 2019

Good catch. I'll see if I can fix this one up unless you already have a patch for it?

@netniV netniV self-assigned this Dec 27, 2019
@netniV netniV added bug Undesired behaviour installer Installation issue labels Dec 27, 2019
@netniV netniV added this to the v1.2.9 milestone Dec 27, 2019
@netniV netniV changed the title Installation Wizard can not identify PHP-->memory_limit when unit is not 'M' PHP Memory is not correctly identified when value is not in megabytes Jan 17, 2020
@netniV netniV added the resolved A fixed issue label Jan 17, 2020
@netniV netniV closed this as completed Jan 20, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour installer Installation issue resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

2 participants