Home > Backend Development > PHP Tutorial > 禁用php函数

禁用php函数

WBOY
Release: 2016-06-23 14:32:34
Original
1417 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template