PHP's default memory_limit is -1 on our system, which disables its built-in memory limit.
Although you can change this, any other value will only decrease the amount of memory available to PHP. Consequently, we recommend against setting it in almost all situations.
Regardless of this setting, system ulimits on memory allocation will continue to apply and are not user-configurable.