You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Facing a similar problem, also while migration EE should add a check for PHP 7.2 by default and rather give a early warning instead of telling later that EE needs at least PHP 7.2 to run.
With the same problem after installing the easyengine using the following commands:
$ wget -qO ee rt.cx/ee4 && sudo bash ee #!Also the Ubuntu 16.04.6 is the linux in use.
Above line is the bash or shell script to automatically check default / global php version in linux,
making sure you set the global php version to at least php version 7.2 before you run installation.
Otherwise, you have to run the script after manually changing the php version again to let
easyengine knows where the php.ini and the php version is!
Here is the step to check how many manually PHP versions installed in your system.
$ sudo update-alternatives --display php #!To list PHP version use.
$ php -v #!To check current default version use command
$ sudo update-alternatives --config php #!To set default version of PHP use.
Make sure port 80 and port 443 is not in use by any services, easyengine works best on a clean server setup.
I think this problem is occurring when the user already has PHP installed. At that time, even if EasyEngine installs PHP, it is not being used. Default PHP of user is being used which may not have required PHP extensions (pcntl, curl, sqlite3, zip). I think we need to use update-alternatives to ensure that our version of PHP is being used.
Thank you everyone for reporting and bumping this issue.
Activity
UmeshSingla commentedon Mar 22, 2019
Facing a similar problem, also while migration EE should add a check for PHP 7.2 by default and rather give a early warning instead of telling later that EE needs at least PHP 7.2 to run.
rickbsgu commentedon May 9, 2019
Is there a solution to this?
lucianobapo commentedon Aug 5, 2019
Is there a solution to this?
stepaola commentedon Oct 23, 2019
Is there a solution to this?
maiChuong commentedon Oct 26, 2020
With the same problem after installing the easyengine using the following commands:
$ wget -qO ee rt.cx/ee4 && sudo bash ee #!Also the Ubuntu 16.04.6 is the linux in use.
Above line is the bash or shell script to automatically check default / global php version in linux,
making sure you set the global php version to at least php version 7.2 before you run installation.
Otherwise, you have to run the script after manually changing the php version again to let
easyengine knows where the php.ini and the php version is!
Here is the step to check how many manually PHP versions installed in your system.
$ sudo update-alternatives --display php #!To list PHP version use.
$ php -v #!To check current default version use command
$ sudo update-alternatives --config php #!To set default version of PHP use.
Make sure port 80 and port 443 is not in use by any services, easyengine works best on a clean server setup.
kirtangajjar commentedon Oct 27, 2020
I think this problem is occurring when the user already has PHP installed. At that time, even if EasyEngine installs PHP, it is not being used. Default PHP of user is being used which may not have required PHP extensions (pcntl, curl, sqlite3, zip). I think we need to use
update-alternativesto ensure that our version of PHP is being used.Thank you everyone for reporting and bumping this issue.
cc @mrrobot47 @dhsathiya
kirtangajjar commentedon Oct 27, 2020
This issue is tracked further at EasyEngine/installer#31. Closing this one.
awps commentedon Dec 9, 2022
Here's what I did on Ubuntu 22:
✌️