-
主页
- Linux
- Windows和Linux主机推荐禁用的PHP函数.你懂的
Windows和Linux主机推荐禁用的PHP函数.你懂的
日期:2013-11-11
晨曦
Linux
浏览:12863次
评论:2条
PHP默认的开发者环境模式只能用于测试使用。而作为虚拟主机商,为了整个服务器上的安全,推荐以下的函数禁用.作用你懂的:
1.Windows环境,以Windows Server 2003&PHP5.2.17-Thread.Safe为例
1
disable_functions = exec,system,passthru,popen,pclose,shell_exec,proc_open,dl,chmod
2.Linux环境,以RedHat5.4&for Apache 2.0 Handler/PHP 5.2.17为例
view sourceprint?
1
disable_functions = pfsockopen,passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,pro
相关推荐
 |
页面运行花费时间:0.003秒;本次加载共计查询数据库:6次
sitemap2623
发表评论