禁止上述的代码:
在c:\windows\php.ini里设置:
disable_functions =gzinflate,passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter, ini_restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,fsocket,fsockopen
重启IIS
但可能引起的负面的情况是淘客网站,对外采集的程序可能会无法使用。 另外发现的问题是discuz的manyou服务无法链接。 这个问题只能是暂时快速解决。
|