Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: could not find driver #1403

Closed
4 tasks done
tenil opened this issue Mar 11, 2019 · 8 comments
Closed
4 tasks done

Error: could not find driver #1403

tenil opened this issue Mar 11, 2019 · 8 comments

Comments

@tenil
Copy link

tenil commented Mar 11, 2019

For each command I am getting "Error: could not find driver".

ee cli info
Error: could not find driver

ee site list
Error: could not find driver

System Information

  • ee cli info
    Error: could not find driver
  • lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.6 LTS
Release:        16.04
Codename:       xenial
  • docker version
Client:
 Version:           18.09.3
 API version:       1.39
 Go version:        go1.10.8
 Git commit:        774a1f4
 Built:             Thu Feb 28 06:40:58 2019
 OS/Arch:           linux/amd64
 Experimental:      false
Server: Docker Engine - Community
 Engine:
  Version:          18.09.3
  API version:      1.39 (minimum version 1.12)
  Go version:       go1.10.8
  Git commit:       774a1f4
  Built:            Thu Feb 28 05:59:55 2019
  OS/Arch:          linux/amd64
  Experimental:     false
  • docker-compose version
docker-compose version 1.23.2, build 1110ad01
docker-py version: 3.6.0
CPython version: 3.6.7
OpenSSL version: OpenSSL 1.1.0f  25 May 2017
@UmeshSingla
Copy link
Contributor

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
Copy link

rickbsgu commented May 9, 2019

Is there a solution to this?

2 similar comments
@lucianobapo
Copy link

Is there a solution to this?

@stepaola
Copy link

Is there a solution to this?

@maiChuong
Copy link

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
Copy link
Contributor

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.

cc @mrrobot47 @dhsathiya

@kirtangajjar
Copy link
Contributor

This issue is tracked further at EasyEngine/installer#31. Closing this one.

@awps
Copy link

awps commented Dec 9, 2022

Here's what I did on Ubuntu 22:

apt-get upgrade # this may be ommited, I think
apt-get update
apt install php-cli php8.1-cli 
wget -qO ee rt.cx/ee4 && sudo bash ee

✌️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants