Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我成功安装 Laminas API 工具(以前称为 Zend APIgility)后,每当我尝试创建新 API 时,它总是会返回错误消息:“我无法创建 API 模块,请检查是否已经存在”。当我检查目录结构时,没有这样的 API。
我通过将所有权更改为 apache 用户 www-data 并授予所有者写入权限来修复错误,如下所示:
$ sudo chmod 0744 config $ sudo chown www-data:www-data module $ sudo chmod 0744 module $ sudo systemctl reload apache2