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

猜你喜欢

转载自www.cnblogs.com/F4NNIU/p/9618318.html
今日推荐