FastAdmin 在 CRUD 时出现 exec() has been disabled for security reasons 怎么办?

FastAdmin 在 CRUD 时出现 exec() has been disabled for security reasons 怎么办?

有小伙伴提问 FastAdmin 在 CRUD 时出现 exec() has been disabled for security reasons 怎么办?
这是因为 php 配置中将 exec 禁用了,或者启用了安全模式。

最快的方法是关闭安全模式。
也可以是 按 Karson 方法分两条命令执行。

Karson:
php think crud -t test
php think menu -c test

posted on 2018-09-10 11:48  建伟F4nniu  阅读(1103)  评论(0编辑  收藏  举报

导航