Install the basic pre-req's for PHP and CakePHP
sudo apt install zip unzip curl php php-cli php-{bz2,curl,mbstring,intl,xml,sqlite3} -y
You need to also install a suitable database driver
SQLite Database Driver
Database driver `Cake\Database\Driver\Sqlite` cannot be used due to a missing PHP extension or unmet dependency. Requested by connection `default`
sudo apt install zip unzip curl php php-cli php-{bz2,curl,mbstring,intl,xml,sqlite3} -y
MySQL Database Driver
Database driver `Cake\Database\Driver\Mysql` cannot be used due to a missing PHP extension or unmet dependency. Requested by connection `default`
sudo apt install zip unzip curl php php-cli php-{bz2,curl,mbstring,intl,xml,sqlite3,mysql} -y
Postgres Database Driver
Database driver `Cake\Database\Driver\Postgres` cannot be used due to a missing PHP extension or unmet dependency. Requested by connection `default`
sudo apt install zip unzip curl php php-cli php-{bz2,curl,mbstring,intl,xml,sqlite3,pgsql} -y

0 Comments