Can't update Statmic from CLI or Control Panel #4793
Replies: 5 comments 1 reply
-
It's possible to have a different version of PHP in the browser vs the command line. Head to Utilities > PHP Info in the CP to check what version of PHP you're running. |
Beta Was this translation helpful? Give feedback.
-
Oh huh! The CP says I'm using |
Beta Was this translation helpful? Give feedback.
-
This always works for me when this happens https://pretagteam.com/question/phpinfo-valet-two-different-php-versions
… On Nov 21, 2021, at 7:03 PM, Andy Smith ***@***.***> wrote:
Oh huh! The CP says I'm using 8.0.9. I used homebrew to link to 7.4; how can I get the browser to use that as well?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Beta Was this translation helpful? Give feedback.
-
Oh brilliant, @jackmcdade, that worked for me as well. If anyone else is having this issue, here are the steps I used to install a different version of PHP on a Mac and get Valet to use it:
|
Beta Was this translation helpful? Give feedback.
-
I have the same problem on a webpack. when i call the update from the CP i get told that iam using an old 7.2 and not the needed 7.4 how can i solve this? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I can't seem to get Statamic onto the latest version, either through the CLI or via the Control Panel UI.
CLI
When I run
composer update statamic/cms —with-all-dependencies
from my project directory, everything appears to install correctly; this is the output:Control Panel
I tried updating from the Updates page of the Control Panel as well, but it never seems to finish—there's a spinner in the modal that never goes away. This is the only feedback:
I'm a little confused why
php/8.0.9
is referenced in the message above, as runningphp -v
in my project directory returnsPHP 7.4.26 (cli)
. Am I missing something?Beta Was this translation helpful? Give feedback.
All reactions