Updating to PHP 7.2 errors

Hello,

When I attempt to update to php 7.4 I get the following error.

usage: ee (sub-commands …) [options …] {arguments …}
ee: error: argument --php: ignored explicit argument ‘7.4’

Any assistance is greatly appreciated!

I don’t know much about this. I will search for this and will post my answer here.

We have added support for this in latest EE version 4.0.15
Check if you have latest version.
command to install latest version ee cli update
after that use ee site update example.com --php=7.4

When I try and update I get the following

usage: ee (sub-commands …) [options …] {arguments …}
ee: error: unrecognized arguments: cli update

Bump for an answer :slight_smile:

No answers? hmmm

bump one last time

I still get this error when i try the update provided.

usage: ee (sub-commands …) [options …] {arguments …}
ee: error: unrecognized arguments: cli update

Has anyone else been bale to update their php to 7.4? I can’t be the only one having this issue? Must be some work around. Or i’ll need to use a different solution - Really liked easyenigne. Would hate to need to start fresh when it’s a such a small issue but necessary.

any help is greatly appreciated.

Which EE version you are using ?

You can try again now, the updates in php 7 has improved a lot.

thanks for the replies. I can install it now but it breaks my site and give me a bad gateway.

I run
ee stack restart --php7
Your platform does not support PHP 7
ee stack install --php7
PHP 7.0 already installed
ee cli check-update
usage: ee (sub-commands …) [options …] {arguments …}
ee: error: unrecognized arguments: cli check-update

i’m assuming i don’t have EE4 installed but how do i install i I can’t use cli?

thanks

hi try using this 192.168.0.100 it worked out for me
try installing it and tell me how it goes
cheers