We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0d0d99e commit 7dfd4c2Copy full SHA for 7dfd4c2
main/main.c
@@ -333,7 +333,7 @@ static PHP_INI_MH(OnChangeMemoryLimit)
333
value = Z_L(1)<<30; /* effectively, no limit */
334
}
335
336
- /* If max_memory_limit is not set to unlimited, verify change */
+ /* If memory_limit exceeds max_memory_limit, warn and set to max_memory_limit instead. */
337
if (value > PG(max_memory_limit)) {
338
if (value != -1) {
339
zend_error(E_WARNING,
0 commit comments