Home  >  Article  >  Backend Development  >  禁用php函数

禁用php函数

WBOY
WBOYOriginal
2016-06-23 14:32:341261browse

打开php.ini文件,
查找到 disable_functions ,添加需禁用的函数名,如下:phpinfo,eval,passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status

直接添加方法名多个之间用都好分割

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:PHP问题集合Next article:php搭建环境