Skip to content

Error: could not find driver #1403

Closed
Closed

Description

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

Activity

  1. UmeshSingla commented on Mar 22, 2019

    @UmeshSingla
    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.

  2. rickbsgu commented on May 9, 2019

    @rickbsgu

    Is there a solution to this?

  3. lucianobapo commented on Aug 5, 2019

    @lucianobapo

    Is there a solution to this?

  4. stepaola commented on Oct 23, 2019

    @stepaola

    Is there a solution to this?

  5. maiChuong commented on Oct 26, 2020

    @maiChuong

    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.

  6. kirtangajjar commented on Oct 27, 2020

    @kirtangajjar
    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

  7. kirtangajjar commented on Oct 27, 2020

    @kirtangajjar
    Contributor

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

  8. awps commented on Dec 9, 2022

    @awps

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions