PHP: How To Disable Dangerous Functions

后端 未结 6 1160
青春惊慌失措
青春惊慌失措 2020-11-28 08:33

How can I disable the dangerous eval function? Can that be done using ini_set function?

Also how to disable following functions? Ca

6条回答
  •  一生所求
    2020-11-28 09:39

    You can disable eval through https://github.com/mk-j/PHP_diseval_extension and gets around the issue of suhosin not being php7 compatible/stable.

提交回复
热议问题