Composer used by Deployer 7 internally uses the wrong PHP version. What am I doing wrong? #3711
-
Hi. I am currently looking into upgrading our deployment flow to Deployer 7. As all of our current projects are still being deployed with v6, I'm running them side by side at the moment, aliasing
However, I can't interact with v7 at the moment because it complains about my PHP version. While my OS X laptop shipped with 7.2 back in the day, that has long since been updated. All of this is configured in my local setup:
As such, I'm at a bit of a loss. I tried bash profiling this to see if that would help, but alas:
Is there a way to tell Deployer which PHP version to use? I'm familiar with the ability to define the PHP and Composer executables etc when deploying to a server, but determining which PHP version Deployer itself uses eludes me. Any and all help appreciated! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
I found it. Deployer uses the default PHP version, which is located here:
Turns out that still pointed to the very old 7.2:
So the solution to my problem was to simply update that symlink to 8.1:
Case closed :) But figured I'd comment it here in case anyone else bumps into this problem. |
Beta Was this translation helpful? Give feedback.
I found it. Deployer uses the default PHP version, which is located here:
Turns out that still pointed to the very old 7.2:
So the solution to my problem was to simply update that symlink to 8.1:
Case closed :) But figured I'd comment it here in case anyone else bumps into this pro…