php的disable_functions例如开启shell_exec

  sre

5fcf2161dd1589651.jpg_fo742.jpg

vim /usr/local/php/etc/php.ini

去掉shell_exec

disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink
,symlink,popepassthru,stream_socket_server

改成

disable_functions = passthru,exec,system,chroot,chgrp,chown,proc_open,proc_get_status,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink
,symlink,popepassthru,stream_socket_server

LEAVE A COMMENT

Captcha Code