PHP composer 安装 thinkphp 报错问题, 求助(急)
資深大佬 : edk24 1
服务器以前有个 php5.4, 后面加了个 php7.3
用 composer 自动定位 5.4, 导致我 tp5.1 无法安装依赖, 现在用网上这个方式安装。 其他都 ok 了。 tp 却安装不上了
着急。。。
[[email protected] star]# /usr/local/php/bin/php composer.phar install Do not run Composer as root/super user! See https://getcomposer.org/root for details Continue as root/super user [yes]? yes Installing dependencies from lock file (including require-dev) Verifying lock file contents can be installed on current platform. Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run `composer update` or `composer update <package name>`. Package operations: 1 install, 0 updates, 0 removals - Downloading topthink/framework (v5.1.40) - Installing topthink/framework (v5.1.40): Extracting archive Failed to extract topthink/framework: (9) unzip -qq '/home/wwwroot/star/vendor/composer/tmp-7ea691416e557dbb8cb8858815b4c4ef' -d '/home/wwwroot/star/vendor/composer/bd3e9c7b' unzip: cannot find or open /home/wwwroot/star/vendor/composer/tmp-7ea691416e557dbb8cb8858815b4c4ef. This most likely is due to a custom installer plugin not handling the returned Promise from the downloader See https://github.com/composer/installers/commit/5006d0c28730ade233a8f42ec31ac68fb1c5c9bb for an example fix Package endroid/qrcode is abandoned, you should avoid using it. Use endroid/qr-code instead. Package zendframework/zend-escaper is abandoned, you should avoid using it. Use laminas/laminas-escaper instead. Generating autoload files 10 packages you are using are looking for funding. Use the `composer fund` command to find out more!
大佬有話說 (31)