请问 artisan 需要什么PHP权限?

为了方便,我生产线装了composer、artisan,当触发artisan时,老师报没有这个权限没有那个权限的。

我的生产线为了安全起见是禁止了下面的方法的
disable_functions = passthru,exec,system,chroot,scandir,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,fsocket

有朋友知道artisan基本命令需要开放哪些方法吗?
另外有什么办法可以只让artisan有这些方法的权限。感谢回答
已邀请:

qixiaojun

赞同来自: fengbingji

需要把php.ini所在的php目录加入到PATH环境变量中就可以了 .bash_prifile /usr/bin::/usr/local/bin这些鬼东西里面就可以了 source一下 生效 或者是重启 最好是重启下生效

要回复问题请先登录注册