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