[Pagoda サーバー] Pagoda は Composer を通じて TP 依存関係をインストールします

何度も壁にぶつかってプロジェクトをインストールしてみたら依存関係がなく、composerを使ってインストールする必要があったのですが、触ったこともなく、ネット上にも攻略法が見つからず、自分で作ってみたところ、以下の問題がありましたが、調整後に解決されました。

エラー 1: fileinfo 拡張子がインストールされていません

Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Root composer.json requires alipaysdk/easysdk 2.0 -> satisfiable by alipaysdk/easysdk[2.0.0].
    - alipaysdk/easysdk 2.0.0 requires ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
  Problem 2
    - topthink/think-filesystem[v1.0.0, ..., v1.0.3] require league/flysystem ^1.1.4 -> satisfiable by league/flysystem[1.1.4, ..., 1.1.10].
    - league/flysystem[1.1.0, ..., 1.1.10] require ext-fileinfo * -> it is missing from your system. Install or enable PHP's fileinfo extension.
    - Root composer.json requires topthink/think-filesystem ^1.0 -> satisfiable by topthink/think-filesystem[v1.0.0, v1.0.1, v1.0.2, v1.0.3].

To enable extensions, verify that they are enabled in your .ini files:
    - /www/server/php/82/etc/php.ini
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-fileinfo` to temporarily ignore these required extensions.

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

2. 無効化された関数 puv を削除します。

ここに画像の説明を挿入

3. その他のエラー メッセージについては、自分で翻訳し、修正して再実行してください。その他のエラー メッセージはここには保存しません。

正常にインストールされました
ここに画像の説明を挿入

おすすめ

転載: blog.csdn.net/qq_35230125/article/details/131294447