You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.
展开阅读全文

You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.

报错如下:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - intervention/image 2.6.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - intervention/image 2.6.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - intervention/image 2.5.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - intervention/image 2.5.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
    - flarum/approval v1.0.0 requires flarum/core ^1.0 -> satisfiable by flarum/core[v1.0.0, v1.0.1, v1.0.2, v1.0.3, v1.0.4].
    - flarum/core v1.0.0 requires intervention/image ^2.5.0 -> satisfiable by intervention/image[2.5.0, 2.5.1, 2.6.0, 2.6.1].
    - flarum/core v1.0.1 requires intervention/image ^2.5.0 -> satisfiable by intervention/image[2.5.0, 2.5.1, 2.6.0, 2.6.1].
    - flarum/core v1.0.2 requires intervention/image ^2.5.0 -> satisfiable by intervention/image[2.5.0, 2.5.1, 2.6.0, 2.6.1].
    - flarum/core v1.0.3 requires intervention/image ^2.5.0 -> satisfiable by intervention/image[2.5.0, 2.5.1, 2.6.0, 2.6.1].
    - flarum/core v1.0.4 requires intervention/image ^2.5.0 -> satisfiable by intervention/image[2.5.0, 2.5.1, 2.6.0, 2.6.1].
    - Installation request for flarum/approval * -> satisfiable by flarum/approval[v1.0.0].

  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.

点击宝塔php版本,点击安装拓展,安装fileinfo即可