全球主机交流论坛

标题: 怎么禁用这些函数呢? [打印本页]

作者: undertake    时间: 2012-2-29 00:47
标题: 怎么禁用这些函数呢?
被禁用的函数(disable_functions): exec, passthru, proc_open, proc_close, shell_exec, system, popen, dl, escapeshellarg, escapeshellcmd, ini_alter
在哪里改,怎么修改?谢谢各位达人了
作者: miniloop    时间: 2012-2-29 00:53
php.ini里搜索 disable_functions
作者: cnweb    时间: 2012-2-29 01:22
正解
作者: undertake    时间: 2012-2-29 01:25
disable_functions =exec, passthru, proc_open, proc_close, shell_exec, system, popen, dl, escapeshellarg, escapeshellcmd, ini_alter
这样写吗?
作者: dotww    时间: 2012-2-29 08:02
undertake 发表于 2012-2-29 01:25
disable_functions =exec, passthru, proc_open, proc_close, shell_exec, system, popen, dl, escapeshell ...

一般缺省是空的,直接加在后面就行了.
作者: aite.me    时间: 2012-2-29 14:14
我一般给别人推荐的空间都是支持shell_exec函数的…限制多的看都不看…Cpanel支持自定义php.ini
作者: 西崽猪猪    时间: 2012-2-29 14:18
PHP.ini里面限制掉
作者: ivv    时间: 2012-2-29 14:22
php.ini




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4