<span id="pfnzv"></span>
      <form id="pfnzv"><span id="pfnzv"></span></form><address id="pfnzv"><span id="pfnzv"><nobr id="pfnzv"></nobr></span></address>
      <form id="pfnzv"><dfn id="pfnzv"><listing id="pfnzv"></listing></dfn></form>

        <sub id="pfnzv"><address id="pfnzv"></address></sub>
          <address id="pfnzv"><form id="pfnzv"><listing id="pfnzv"></listing></form></address>
          <address id="pfnzv"><address id="pfnzv"><nobr id="pfnzv"></nobr></address></address>

            <address id="pfnzv"></address>
            0712-2888027 189-8648-0214
            微信公眾號

            孝感風信網絡科技有限公司微信公眾號

            當前位置:主頁 > 技術支持 > PHP > 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解決方法

            時間:2024-08-25來源:風信官網 點擊: 7437次
            Laravel項目安裝驗證碼mews/captcha擴展,出現如下錯誤信息:

            composer require mews/captcha

            Using version ^2.2 for mews/captcha
            ./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
                - mews/captcha 2.2.0 requires intervention/image ~2.2 -> satisfiable by intervention/image[2.2.0, 2.2.1, 2.2.2, 2.3.0, 2.3.1, 2.3.10, 2.3.11, 2.3.12, 2.3.13, 2.3.14, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6
            , 2.3.7, 2.3.8, 2.3.9, 2.4.0, 2.4.1, 2.4.2, 2.4.x-dev].
                ..........
                - intervention/image 2.2.1 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
                - intervention/image 2.2.0 requires ext-fileinfo * -> the requested PHP extension fileinfo is missing from your system.
                - Installation request for mews/captcha ^2.2 -> satisfiable by mews/captcha[2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4].

              To enable extensions, verify that they are enabled in your .ini files:
                - D:\phpStudy\PHPTutorial\php\php-7.2.1-nts\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.

            查找原因是php需要開啟fileinfo擴展,

            編輯php.ini文件,打開extension=php_fileinfo.dll 就可以了,重新運行composer命令,安裝成功

            composer require mews/captcha

            Using version ^2.2 for mews/captcha
            ./composer.json has been updated
            Loading composer repositories with package information
            Updating dependencies (including require-dev)
            Package operations: 2 installs, 0 updates, 0 removals
              - Installing intervention/image (2.4.2): Downloading (100%)
              - Installing mews/captcha (2.2.4): Downloading (100%)
            intervention/image suggests installing ext-imagick (to use Imagick based image processing.)
            intervention/image suggests installing intervention/imagecache (Caching extension for the Intervention Image library)
            Writing lock file
            Generating optimized autoload files
            > Illuminate\Foundation\ComposerScripts::postAutoloadDump
            > @php artisan package:discover --ansi
            Discovered Package: beyondcode/laravel-dump-server
            Discovered Package: fideloper/proxy
            Discovered Package: intervention/image
            Discovered Package: laravel/nexmo-notification-channel
            Discovered Package: laravel/slack-notification-channel
            Discovered Package: laravel/tinker
            Discovered Package: mews/captcha
            Discovered Package: nesbot/carbon
            Discovered Package: nunomaduro/collision
            Package manifest generated successfully.
            熱門關鍵詞: php.ini PHP CLI mode PHP CLI
            欄目列表
            推薦內容
            熱點內容
            展開
            国产精久久久久无码AV动漫|最新亚洲精品国偷自产在线|2021亚洲色中文字幕在线|最新无码av中文字专区 情欲美妇紧致敏感 国产免费AⅤ片在线播放 人妻爽爽免费在线视频 51精品国产人成在线观看 色偷偷av一区二区三区
            <span id="pfnzv"></span>
                <form id="pfnzv"><span id="pfnzv"></span></form><address id="pfnzv"><span id="pfnzv"><nobr id="pfnzv"></nobr></span></address>
                <form id="pfnzv"><dfn id="pfnzv"><listing id="pfnzv"></listing></dfn></form>

                  <sub id="pfnzv"><address id="pfnzv"></address></sub>
                    <address id="pfnzv"><form id="pfnzv"><listing id="pfnzv"></listing></form></address>
                    <address id="pfnzv"><address id="pfnzv"><nobr id="pfnzv"></nobr></address></address>

                      <address id="pfnzv"></address>