添加链接
link之家
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
傻傻的凳子  ·  StackExchange.Redis ...·  1 年前    · 
威武的汤圆  ·  4769(S, F) A Kerberos ...·  1 年前    · 
Using version ^1.5 for alibabacloud/client ./composer.json has been updated Loading composer repositories with package information Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - league/flysystem 1.0.53 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - league/flysystem 1.0.53 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - league/flysystem 1.0.53 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system. - Installation request for league/flysystem (locked at 1.0.53) -> satisfiable by league/flysystem[1.0.53]. To enable extensions, verify that they are enabled in your .ini files: - /www/server/php/73/etc/php.ini You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode. Installation failed, reverting ./composer.json to its original content. [root@iZbp18qq1n1pli2wswopjbZ test]#

宝塔上对应php版本安装fileinfo,不是php.ini开启

重启php,重新执行: composer require alibabacloud/client


The Process class relies on proc_open, which is not available on your PHP installation.

需要支持的 proc_open proc_get_status 函数在 php.ini disable_functions 里。从中删除这两个函数。重启php即可。

Writing lock file
Generating optimized autoload files
> Illuminate\Foundation\ComposerScripts::postAutoloadDump
> @php artisan package:discover --ansi
Installation failed, reverting ./composer.json to its original content.
  [Symfony\Component\Process\Exception\RuntimeException]                                   
  The Process class relies on proc_open, which is not available on your PHP installation.  
require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-suggest] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--update-with-all-dependencies] [--ignore-platform-reqs] [--prefer-stable] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--] [<packages>]...