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

memory_limit rejecting value of -1 #88

Open
notxarb opened this issue Feb 6, 2018 · 1 comment
Open

memory_limit rejecting value of -1 #88

notxarb opened this issue Feb 6, 2018 · 1 comment

Comments

@notxarb
Copy link
Contributor

notxarb commented Feb 6, 2018

The php documentation states that setting the memory_limit to -1 basically set the limit to unlimited. The validation that the engine does doesn't allow for a value of -1 to be passed into the php.ini.

@pablorsk
Copy link

pablorsk commented Jun 1, 2018

Please, try to doing this:

[...]
run.config:
  engine: php
  engine.config:
    runtime: php-7.1
    memory_limit: '-1'

Now, if you check, memory is not set

nanobox run php --info | grep memory_limit
memory_limit => no value => no value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants