I’m trying to run phpunit tests against a postgres database. The tests fail with a
PDOException: could not find driver. I believe this is because I’m missing the postgres driver.
When I run
sudo apt-get install -y php7.1-pgsql I can’t locate the package.
/etc/apt/sources.list file is locked down, so I’m unable to add an repositories.
sudo echo "deb http://ftp.de.debian.org/debian stretch main" >> /etc/apt/sources.list bash: /etc/apt/sources.list: Permission denied
I’m pretty stumped at this point.