CakePHP quickly install pre-reqs

by Sep 25, 2025IT Tips0 comments

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

Submit a Comment

Your email address will not be published. Required fields are marked *

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.