proc_open is disabled so ‘unzip’ and ‘7z’ commands cannot be used, zip files are being unpacked using the PHP zip extension.

composer 安装依赖时报错:

1
2
3
proc_open is disabled so 'unzip' and '7z' commands cannot be used, zip files are being unpacked using the PHP zip extension.
This may cause invalid reports of corrupted archives. Besides, any UNIX permissions (e.g. executable) defined in the archives will be lost.
Enabling proc_open and installing 'unzip' or '7z' (21.01+) may remediate them.

解决方法:

1
2
(sudo) yum install zip unzip php-zip
(sudo) apt install zip unzip php-zip
原文链接:https://xiaohost.com/11479.html,转载请注明出处。
0

评论0

请先