Civi 5.x not recognizing PHP 7.1 in DrushErrors in functions.php after installing 5.16.2 on Drupal 7drush...

How does Vivi differ from other Black Mages?

Is English tonal for some words, like "permit"?

Is there a sentence that begins with “them”?

CBP interview, how serious should I take it?

Does the word “uzi” need to be capitalized?

How accurate is the new appraisal system?

How to circle together certain entries of a matrix?

Are there take-over requests from autopilots?

Why was "leaping into the river" a valid trial outcome to prove one's innocence?

Starring Samurais - Several Scribbled Short Stories

What is going on: C++ std::move on std::shared_ptr increases use_count?

I changed a word from a source, how do I cite it correctly?

Procedure for traffic not in sight

Two different colors in an Illustrator stroke / line

How to progress with CPLEX/Gurobi

Can i say "I will encrypt something" if i hash something?

Is it appropriate for a professor to require students to sign a non-disclosure agreement before being taught?

Dividing Divisive Divisors

How do I always enable compiler warnings?

How do I preserve the line ordering for two "equal" strings while sorting and ignoring the case?

What happens when a caster loses concentration on a banished creature?

Are the definite and indefinite integrals actually two different things? Where is the flaw in my understanding?

Determining if file in projected or geographic coordinates using ArcGIS Desktop?

What is this dollar sign ($) icon in my Menu Bar?



Civi 5.x not recognizing PHP 7.1 in Drush


Errors in functions.php after installing 5.16.2 on Drupal 7drush civicrm-sql-dump dumps the drupal database - how do I get it to dump the civicrm database?Autoloader problem after upgrade to version 4.6.8drush requires civicrm to be enabled when installing in saltstackcivix civicrm:ping not printing any outputDrush failing to build database during new installationError Backing Up Database using drush: Call to undefined function drush_sql_dump_execute()Tracked Opens NoDrush cannot disable civicrm debugNew install, system status says “cron not running” and “timestamp mismatch”Broken SMTP after switching to PHP 7.2






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







1















This is the second site I've noticed this on - in both cases, the site is running PHP 7.1.32, as reported on the Drupal system status page.



Error message:



CiviCRM requires PHP 7.0.0+. The web server is running PHP 5.6.40. Drush command terminated abnormally due to an unrecoverable error.



The Drush commands seem to execute, though. The commands have nothing to do with Civi, BTW - these are standard install/enable Drush commands.



See related issue at:



Errors in functions.php after installing 5.16.2 on Drupal 7



Any guidance appreciated...










share|improve this question

































    1















    This is the second site I've noticed this on - in both cases, the site is running PHP 7.1.32, as reported on the Drupal system status page.



    Error message:



    CiviCRM requires PHP 7.0.0+. The web server is running PHP 5.6.40. Drush command terminated abnormally due to an unrecoverable error.



    The Drush commands seem to execute, though. The commands have nothing to do with Civi, BTW - these are standard install/enable Drush commands.



    See related issue at:



    Errors in functions.php after installing 5.16.2 on Drupal 7



    Any guidance appreciated...










    share|improve this question





























      1












      1








      1








      This is the second site I've noticed this on - in both cases, the site is running PHP 7.1.32, as reported on the Drupal system status page.



      Error message:



      CiviCRM requires PHP 7.0.0+. The web server is running PHP 5.6.40. Drush command terminated abnormally due to an unrecoverable error.



      The Drush commands seem to execute, though. The commands have nothing to do with Civi, BTW - these are standard install/enable Drush commands.



      See related issue at:



      Errors in functions.php after installing 5.16.2 on Drupal 7



      Any guidance appreciated...










      share|improve this question
















      This is the second site I've noticed this on - in both cases, the site is running PHP 7.1.32, as reported on the Drupal system status page.



      Error message:



      CiviCRM requires PHP 7.0.0+. The web server is running PHP 5.6.40. Drush command terminated abnormally due to an unrecoverable error.



      The Drush commands seem to execute, though. The commands have nothing to do with Civi, BTW - these are standard install/enable Drush commands.



      See related issue at:



      Errors in functions.php after installing 5.16.2 on Drupal 7



      Any guidance appreciated...







      php drush






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 10 hours ago







      Billyjames

















      asked 11 hours ago









      BillyjamesBillyjames

      613 bronze badges




      613 bronze badges

























          1 Answer
          1






          active

          oldest

          votes


















          3
















          That sounds like your command line version of php is different to the one being used by your webserver.



          See eg https://drupal.stackexchange.com/questions/44967/the-php-version-is-not-correctly-detected






          share|improve this answer


























          • Beat me to it by about 30 seconds. Yes agree with Aidan. @Billyjames the answers also given in your other post are also likely correct. Type php -v on the command line to see what the command line is using vs what the web server is using.

            – Demerit
            10 hours ago
















          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "605"
          };
          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/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          noCode: true, onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });















          draft saved

          draft discarded
















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fcivicrm.stackexchange.com%2fquestions%2f31976%2fcivi-5-x-not-recognizing-php-7-1-in-drush%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          3
















          That sounds like your command line version of php is different to the one being used by your webserver.



          See eg https://drupal.stackexchange.com/questions/44967/the-php-version-is-not-correctly-detected






          share|improve this answer


























          • Beat me to it by about 30 seconds. Yes agree with Aidan. @Billyjames the answers also given in your other post are also likely correct. Type php -v on the command line to see what the command line is using vs what the web server is using.

            – Demerit
            10 hours ago


















          3
















          That sounds like your command line version of php is different to the one being used by your webserver.



          See eg https://drupal.stackexchange.com/questions/44967/the-php-version-is-not-correctly-detected






          share|improve this answer


























          • Beat me to it by about 30 seconds. Yes agree with Aidan. @Billyjames the answers also given in your other post are also likely correct. Type php -v on the command line to see what the command line is using vs what the web server is using.

            – Demerit
            10 hours ago
















          3














          3










          3









          That sounds like your command line version of php is different to the one being used by your webserver.



          See eg https://drupal.stackexchange.com/questions/44967/the-php-version-is-not-correctly-detected






          share|improve this answer













          That sounds like your command line version of php is different to the one being used by your webserver.



          See eg https://drupal.stackexchange.com/questions/44967/the-php-version-is-not-correctly-detected







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered 10 hours ago









          AidanAidan

          7,0931 gold badge7 silver badges30 bronze badges




          7,0931 gold badge7 silver badges30 bronze badges
















          • Beat me to it by about 30 seconds. Yes agree with Aidan. @Billyjames the answers also given in your other post are also likely correct. Type php -v on the command line to see what the command line is using vs what the web server is using.

            – Demerit
            10 hours ago





















          • Beat me to it by about 30 seconds. Yes agree with Aidan. @Billyjames the answers also given in your other post are also likely correct. Type php -v on the command line to see what the command line is using vs what the web server is using.

            – Demerit
            10 hours ago



















          Beat me to it by about 30 seconds. Yes agree with Aidan. @Billyjames the answers also given in your other post are also likely correct. Type php -v on the command line to see what the command line is using vs what the web server is using.

          – Demerit
          10 hours ago







          Beat me to it by about 30 seconds. Yes agree with Aidan. @Billyjames the answers also given in your other post are also likely correct. Type php -v on the command line to see what the command line is using vs what the web server is using.

          – Demerit
          10 hours ago





















          draft saved

          draft discarded



















































          Thanks for contributing an answer to CiviCRM 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%2fcivicrm.stackexchange.com%2fquestions%2f31976%2fcivi-5-x-not-recognizing-php-7-1-in-drush%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

          Hudson River Historic District Contents Geography History The district today Aesthetics Cultural...

          The number designs the writing. Feandra Aversely Definition: The act of ingrafting a sprig or shoot of one...

          Ayherre Geografie Demografie Externe links Navigatiemenu43° 23′ NB, 1° 15′ WL43° 23′ NB, 1°...