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

您必须才能评论!