ytkah在用composer安装插件时出现了shell_exec() has been disabled for security reasons错误提示,这个是php配置的问题,shell_exec() 函数被禁用了.怎么解决呢? shell_exec() has been disabled for security reasons 打开php.ini,搜索disable_functions,代码如下: disable_functions = scandir,passthru,exec,sy…
shell_exec — Execute command via shell and return the complete output as a string: <?php$output = shell_exec('ls -lart');echo "<pre>$output</pre>";?> shell_exec('locale -a | grep -i utf')…