Can't update composer(ubuntu 16.04)












0















I want to composer update but, it gives me error like this.



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
- Installation request for phpoffice/phpexcel 1.8.0 -> satisfiable by phpoffice/phpexcel[1.8.0].
- phpoffice/phpexcel 1.8.0 requires ext-xml * -> the requested PHP extension xml is missing from your system.

To enable extensions, verify that they are enabled in those .ini files:
- /etc/php/7.0/cli/php.ini
- /etc/php/7.0/cli/conf.d/10-opcache.ini
- /etc/php/7.0/cli/conf.d/10-pdo.ini
- /etc/php/7.0/cli/conf.d/20-calendar.ini
- /etc/php/7.0/cli/conf.d/20-ctype.ini
- /etc/php/7.0/cli/conf.d/20-exif.ini
- /etc/php/7.0/cli/conf.d/20-fileinfo.ini
- /etc/php/7.0/cli/conf.d/20-ftp.ini
- /etc/php/7.0/cli/conf.d/20-gettext.ini
- /etc/php/7.0/cli/conf.d/20-iconv.ini
- /etc/php/7.0/cli/conf.d/20-intl.ini
- /etc/php/7.0/cli/conf.d/20-json.ini
- /etc/php/7.0/cli/conf.d/20-mbstring.ini
- /etc/php/7.0/cli/conf.d/20-phar.ini
- /etc/php/7.0/cli/conf.d/20-posix.ini
- /etc/php/7.0/cli/conf.d/20-readline.ini
- /etc/php/7.0/cli/conf.d/20-shmop.ini
- /etc/php/7.0/cli/conf.d/20-sockets.ini
- /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.0/cli/conf.d/20-sysvsem.ini
- /etc/php/7.0/cli/conf.d/20-sysvshm.ini
- /etc/php/7.0/cli/conf.d/20-tokenizer.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.


Here is my composer.json



"require-dev": {
"yiisoft/yii2-codeception": "*",
"yiisoft/yii2-debug": "*",
"yiisoft/yii2-gii": "*",
"yiisoft/yii2-faker": "*",
"kartik-v/yii2-widget-select2": "@dev",
"phpoffice/phpexcel": "1.8.0"
},









share|improve this question



























    0















    I want to composer update but, it gives me error like this.



    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
    - Installation request for phpoffice/phpexcel 1.8.0 -> satisfiable by phpoffice/phpexcel[1.8.0].
    - phpoffice/phpexcel 1.8.0 requires ext-xml * -> the requested PHP extension xml is missing from your system.

    To enable extensions, verify that they are enabled in those .ini files:
    - /etc/php/7.0/cli/php.ini
    - /etc/php/7.0/cli/conf.d/10-opcache.ini
    - /etc/php/7.0/cli/conf.d/10-pdo.ini
    - /etc/php/7.0/cli/conf.d/20-calendar.ini
    - /etc/php/7.0/cli/conf.d/20-ctype.ini
    - /etc/php/7.0/cli/conf.d/20-exif.ini
    - /etc/php/7.0/cli/conf.d/20-fileinfo.ini
    - /etc/php/7.0/cli/conf.d/20-ftp.ini
    - /etc/php/7.0/cli/conf.d/20-gettext.ini
    - /etc/php/7.0/cli/conf.d/20-iconv.ini
    - /etc/php/7.0/cli/conf.d/20-intl.ini
    - /etc/php/7.0/cli/conf.d/20-json.ini
    - /etc/php/7.0/cli/conf.d/20-mbstring.ini
    - /etc/php/7.0/cli/conf.d/20-phar.ini
    - /etc/php/7.0/cli/conf.d/20-posix.ini
    - /etc/php/7.0/cli/conf.d/20-readline.ini
    - /etc/php/7.0/cli/conf.d/20-shmop.ini
    - /etc/php/7.0/cli/conf.d/20-sockets.ini
    - /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
    - /etc/php/7.0/cli/conf.d/20-sysvsem.ini
    - /etc/php/7.0/cli/conf.d/20-sysvshm.ini
    - /etc/php/7.0/cli/conf.d/20-tokenizer.ini
    You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.


    Here is my composer.json



    "require-dev": {
    "yiisoft/yii2-codeception": "*",
    "yiisoft/yii2-debug": "*",
    "yiisoft/yii2-gii": "*",
    "yiisoft/yii2-faker": "*",
    "kartik-v/yii2-widget-select2": "@dev",
    "phpoffice/phpexcel": "1.8.0"
    },









    share|improve this question

























      0












      0








      0








      I want to composer update but, it gives me error like this.



      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
      - Installation request for phpoffice/phpexcel 1.8.0 -> satisfiable by phpoffice/phpexcel[1.8.0].
      - phpoffice/phpexcel 1.8.0 requires ext-xml * -> the requested PHP extension xml is missing from your system.

      To enable extensions, verify that they are enabled in those .ini files:
      - /etc/php/7.0/cli/php.ini
      - /etc/php/7.0/cli/conf.d/10-opcache.ini
      - /etc/php/7.0/cli/conf.d/10-pdo.ini
      - /etc/php/7.0/cli/conf.d/20-calendar.ini
      - /etc/php/7.0/cli/conf.d/20-ctype.ini
      - /etc/php/7.0/cli/conf.d/20-exif.ini
      - /etc/php/7.0/cli/conf.d/20-fileinfo.ini
      - /etc/php/7.0/cli/conf.d/20-ftp.ini
      - /etc/php/7.0/cli/conf.d/20-gettext.ini
      - /etc/php/7.0/cli/conf.d/20-iconv.ini
      - /etc/php/7.0/cli/conf.d/20-intl.ini
      - /etc/php/7.0/cli/conf.d/20-json.ini
      - /etc/php/7.0/cli/conf.d/20-mbstring.ini
      - /etc/php/7.0/cli/conf.d/20-phar.ini
      - /etc/php/7.0/cli/conf.d/20-posix.ini
      - /etc/php/7.0/cli/conf.d/20-readline.ini
      - /etc/php/7.0/cli/conf.d/20-shmop.ini
      - /etc/php/7.0/cli/conf.d/20-sockets.ini
      - /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
      - /etc/php/7.0/cli/conf.d/20-sysvsem.ini
      - /etc/php/7.0/cli/conf.d/20-sysvshm.ini
      - /etc/php/7.0/cli/conf.d/20-tokenizer.ini
      You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.


      Here is my composer.json



      "require-dev": {
      "yiisoft/yii2-codeception": "*",
      "yiisoft/yii2-debug": "*",
      "yiisoft/yii2-gii": "*",
      "yiisoft/yii2-faker": "*",
      "kartik-v/yii2-widget-select2": "@dev",
      "phpoffice/phpexcel": "1.8.0"
      },









      share|improve this question














      I want to composer update but, it gives me error like this.



      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
      - Installation request for phpoffice/phpexcel 1.8.0 -> satisfiable by phpoffice/phpexcel[1.8.0].
      - phpoffice/phpexcel 1.8.0 requires ext-xml * -> the requested PHP extension xml is missing from your system.

      To enable extensions, verify that they are enabled in those .ini files:
      - /etc/php/7.0/cli/php.ini
      - /etc/php/7.0/cli/conf.d/10-opcache.ini
      - /etc/php/7.0/cli/conf.d/10-pdo.ini
      - /etc/php/7.0/cli/conf.d/20-calendar.ini
      - /etc/php/7.0/cli/conf.d/20-ctype.ini
      - /etc/php/7.0/cli/conf.d/20-exif.ini
      - /etc/php/7.0/cli/conf.d/20-fileinfo.ini
      - /etc/php/7.0/cli/conf.d/20-ftp.ini
      - /etc/php/7.0/cli/conf.d/20-gettext.ini
      - /etc/php/7.0/cli/conf.d/20-iconv.ini
      - /etc/php/7.0/cli/conf.d/20-intl.ini
      - /etc/php/7.0/cli/conf.d/20-json.ini
      - /etc/php/7.0/cli/conf.d/20-mbstring.ini
      - /etc/php/7.0/cli/conf.d/20-phar.ini
      - /etc/php/7.0/cli/conf.d/20-posix.ini
      - /etc/php/7.0/cli/conf.d/20-readline.ini
      - /etc/php/7.0/cli/conf.d/20-shmop.ini
      - /etc/php/7.0/cli/conf.d/20-sockets.ini
      - /etc/php/7.0/cli/conf.d/20-sysvmsg.ini
      - /etc/php/7.0/cli/conf.d/20-sysvsem.ini
      - /etc/php/7.0/cli/conf.d/20-sysvshm.ini
      - /etc/php/7.0/cli/conf.d/20-tokenizer.ini
      You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.


      Here is my composer.json



      "require-dev": {
      "yiisoft/yii2-codeception": "*",
      "yiisoft/yii2-debug": "*",
      "yiisoft/yii2-gii": "*",
      "yiisoft/yii2-faker": "*",
      "kartik-v/yii2-widget-select2": "@dev",
      "phpoffice/phpexcel": "1.8.0"
      },






      16.04






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 28 '16 at 15:12









      Ryan AriefRyan Arief

      153119




      153119






















          2 Answers
          2






          active

          oldest

          votes


















          0














          Some of the extensions to run well Yii2 are not installed, you can correct it by reinstalling the packages:



          sudo apt-get install php7.0-xmlrpc php7.0-xml





          share|improve this answer































            0














            install php extensionsudo apt-get install php-xmlrpc php-xml






            share|improve this answer























              Your Answer








              StackExchange.ready(function() {
              var channelOptions = {
              tags: "".split(" "),
              id: "89"
              };
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function() {
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled) {
              StackExchange.using("snippets", function() {
              createEditor();
              });
              }
              else {
              createEditor();
              }
              });

              function createEditor() {
              StackExchange.prepareEditor({
              heartbeatType: 'answer',
              autoActivateHeartbeat: false,
              convertImagesToLinks: true,
              noModals: true,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              imageUploader: {
              brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
              contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
              allowUrls: true
              },
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              });


              }
              });














              draft saved

              draft discarded


















              StackExchange.ready(
              function () {
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f865442%2fcant-update-composerubuntu-16-04%23new-answer', 'question_page');
              }
              );

              Post as a guest















              Required, but never shown

























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes









              0














              Some of the extensions to run well Yii2 are not installed, you can correct it by reinstalling the packages:



              sudo apt-get install php7.0-xmlrpc php7.0-xml





              share|improve this answer




























                0














                Some of the extensions to run well Yii2 are not installed, you can correct it by reinstalling the packages:



                sudo apt-get install php7.0-xmlrpc php7.0-xml





                share|improve this answer


























                  0












                  0








                  0







                  Some of the extensions to run well Yii2 are not installed, you can correct it by reinstalling the packages:



                  sudo apt-get install php7.0-xmlrpc php7.0-xml





                  share|improve this answer













                  Some of the extensions to run well Yii2 are not installed, you can correct it by reinstalling the packages:



                  sudo apt-get install php7.0-xmlrpc php7.0-xml






                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Jan 31 '17 at 16:38









                  AleAle

                  1305




                  1305

























                      0














                      install php extensionsudo apt-get install php-xmlrpc php-xml






                      share|improve this answer




























                        0














                        install php extensionsudo apt-get install php-xmlrpc php-xml






                        share|improve this answer


























                          0












                          0








                          0







                          install php extensionsudo apt-get install php-xmlrpc php-xml






                          share|improve this answer













                          install php extensionsudo apt-get install php-xmlrpc php-xml







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered 11 hours ago









                          T. Toir427T. Toir427

                          113




                          113






























                              draft saved

                              draft discarded




















































                              Thanks for contributing an answer to Ask Ubuntu!


                              • Please be sure to answer the question. Provide details and share your research!

                              But avoid



                              • Asking for help, clarification, or responding to other answers.

                              • Making statements based on opinion; back them up with references or personal experience.


                              To learn more, see our tips on writing great answers.




                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function () {
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f865442%2fcant-update-composerubuntu-16-04%23new-answer', 'question_page');
                              }
                              );

                              Post as a guest















                              Required, but never shown





















































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown

































                              Required, but never shown














                              Required, but never shown












                              Required, but never shown







                              Required, but never shown







                              Popular posts from this blog

                              數位音樂下載

                              When can things happen in Etherscan, such as the picture below?

                              格利澤436b