Can't run composer update in a subdomain because the php version is lower that requiredrun a php script in...

Finding collisions of the first few bits of a SHA-1 hash

How to melt snow without fire or body heat?

I know that there is a preselected candidate for a position to be filled at my department. What should I do?

Why was this character made Grand Maester?

Determine this limit

Do photons bend spacetime or not?

If a (distance) metric on a connected Riemannian manifold locally agrees with the Riemannian metric, is it equal to the induced metric?

Why isn't Tyrion mentioned in the in-universe book "A Song of Ice and Fire"?

Is it legal to meet with potential future employers in the UK, whilst visiting from the USA

Did this character show any indication of wanting to rule before S8E6?

Why did Jon Snow do this immoral act if he is so honorable?

Must a warlock replace spells with new spells of exactly their Pact Magic spell slot level?

Python program for a simple calculator

The art of clickbait captions

Why haven't we yet tried accelerating a space station with people inside to a near light speed?

便利な工具 what does な means

Why does the hash of infinity have the digits of π?

What are Antecedent & Consequent Phrases in Music?

On San Andreas Speedruns, why do players blow up the Picador in the mission Ryder?

Why would a rational buyer offer to buy with no conditions precedent?

Can I install a back bike rack without attachment to the rear part of the frame?

Need to read my home electrical Meter

Why A=2 and B=1 in the call signs for Spirit and Opportunity?

What is the use case for non-breathable waterproof pants?



Can't run composer update in a subdomain because the php version is lower that required


run a php script in centos and time and timeoutMake Ubuntu acknowledge that a custom built version of PHP is installedPHP CLI and Bash - change behaviour of PHP keywordHow to install Owncloud on CentOS 6.5Can't run php cli at webuser but will run as rootHow to install laravel on xampp?Why does phpinfo() show version 5.5.9 but php -v show version 7.0Without root, how to make programs use a specific PHP version instead of the default?The value 'buster' is invalid for APT::Default-Release as such a release is not available in the sourcesInstalling Composer on CentOS with multiple PHP versions






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I have to run a Laravel command from SSH to install packages (the command is 'composer update') and when I run it puts an error that the php version is 7.0.3 and that it requires 7.1.3
The command is running in a subdomain that is assigned from cpanel the version of php 7.2 then I do not know why it does not take it. Investigating I found that when connecting from SSH it takes the version of php by default of the server (that I can not change it because it stops working a page that runs there too) instead of the one assigned from cpanel. I have read that putting the path of the php version that is required before the command can works, but I don't know what that route is.
Please help me, thanks a lot!










share|improve this question







New contributor



Luis Duque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.


























    0















    I have to run a Laravel command from SSH to install packages (the command is 'composer update') and when I run it puts an error that the php version is 7.0.3 and that it requires 7.1.3
    The command is running in a subdomain that is assigned from cpanel the version of php 7.2 then I do not know why it does not take it. Investigating I found that when connecting from SSH it takes the version of php by default of the server (that I can not change it because it stops working a page that runs there too) instead of the one assigned from cpanel. I have read that putting the path of the php version that is required before the command can works, but I don't know what that route is.
    Please help me, thanks a lot!










    share|improve this question







    New contributor



    Luis Duque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.






















      0












      0








      0








      I have to run a Laravel command from SSH to install packages (the command is 'composer update') and when I run it puts an error that the php version is 7.0.3 and that it requires 7.1.3
      The command is running in a subdomain that is assigned from cpanel the version of php 7.2 then I do not know why it does not take it. Investigating I found that when connecting from SSH it takes the version of php by default of the server (that I can not change it because it stops working a page that runs there too) instead of the one assigned from cpanel. I have read that putting the path of the php version that is required before the command can works, but I don't know what that route is.
      Please help me, thanks a lot!










      share|improve this question







      New contributor



      Luis Duque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      I have to run a Laravel command from SSH to install packages (the command is 'composer update') and when I run it puts an error that the php version is 7.0.3 and that it requires 7.1.3
      The command is running in a subdomain that is assigned from cpanel the version of php 7.2 then I do not know why it does not take it. Investigating I found that when connecting from SSH it takes the version of php by default of the server (that I can not change it because it stops working a page that runs there too) instead of the one assigned from cpanel. I have read that putting the path of the php version that is required before the command can works, but I don't know what that route is.
      Please help me, thanks a lot!







      centos php






      share|improve this question







      New contributor



      Luis Duque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.










      share|improve this question







      New contributor



      Luis Duque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      share|improve this question




      share|improve this question






      New contributor



      Luis Duque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.








      asked 1 hour ago









      Luis DuqueLuis Duque

      1




      1




      New contributor



      Luis Duque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.




      New contributor




      Luis Duque is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























          0






          active

          oldest

          votes












          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "106"
          };
          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: false,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: null,
          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
          });


          }
          });






          Luis Duque is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f520549%2fcant-run-composer-update-in-a-subdomain-because-the-php-version-is-lower-that-r%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Luis Duque is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Luis Duque is a new contributor. Be nice, and check out our Code of Conduct.













          Luis Duque is a new contributor. Be nice, and check out our Code of Conduct.












          Luis Duque is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Unix & Linux Stack Exchange!


          • 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%2funix.stackexchange.com%2fquestions%2f520549%2fcant-run-composer-update-in-a-subdomain-because-the-php-version-is-lower-that-r%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

          Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

          Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

          Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...