我在 ubuntu12.04 上运行 PHP5.6,因为 apache 2.4 模块 Suhosin 是从源代码安装的
Suhosin 已启用,我可以在 phpinfo() 函数输出中看到它。我在 suhosin.ini 中有这些行:
suhosin.executor.disable_eval = On
suhosin.executor.disable_emodifier = On
而且我还可以在 phpinfo() 中看到它们已启用。全球和本地。
但由于某种原因很简单
eval('echo 5;');
只给我看那个该死的“5”!!!
一样
preg_replace("/.*/e", "eval('echo 5, PHP_EOL;')", ".");
如何启用该 suhosin?