You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-zip` to temporarily ignore these required extensions.

You can also run `php --ini` in a terminal to see which files are used by PHP in CLI mode. Alternatively, you can run Composer with `--ignore-platform-req=ext-zip` to temporarily ignore these required extensions.
张家俊
07月22日
|
浏览 38

答案是:在终端中运行 php --ini 可以查看 PHP 在 CLI 模式下使用的文件。另外,你可以在运行 Composer 时加上 --ignore-platform-req=ext-zip 参数来暂时忽略这些必需的扩展。

我要提问
复制内容
分享给好友
AI编程问答网 免责声明:
以上内容除特别注明外均来源于网友提问,AI编程问答网回答,权益归原著者所有;