Commerce Platforms & DTC
Magento

Magento's nginx sample overrides php_admin_value, and that breaks the PHP2Shell memory_limit stopgap

PHP's main stopgap for the first PHP2Shell bug (CVE-2026-109618) is to remove the memory limit by settingmemory_limit=-1, somewhere applications can't change it. The usual advice isphp_admin_valuein the FPM...
dev.to
November 8, 2026
7
@EveryHostuk
Magento's nginx sample overrides php_admin_value, and that breaks the PHP2Shell memory_limit stopgap
WHAT HAPPENED
t work. The value comes back as 756M, andini_set()failing makes it look locked in. The real fix is updating PHP. PHP There are no complete mitigations, updating is the only safe choice. re waiting on a vendor backport and using this stopgap in the meantime, check it t touch a poolphp_admin_value, butPHP_VALUEcan. In those two casesini_set( )also returnedfalse. The setting is locked, just at the wrong value. If you tested the lock withini_set()you
Continue reading from the original publisher for the complete report and source context.
READ ORIGINAL STORY