# Not able to install php(7.0) pdo dependencies for postgres

**URL:** <https://discuss.circleci.com/t/not-able-to-install-php-7-0-pdo-dependencies-for-postgres/15591>\
**Category:** Programming Languages\
**Tags:** php\
**Created:** [August 22, 2017, 12:44pm UTC](https://discuss.circleci.com/t/not-able-to-install-php-7-0-pdo-dependencies-for-postgres/15591 "2017-08-22T12:44:45Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![svishal](https://sea2.discourse-cdn.com/circleci/user_avatar/discuss.circleci.com/svishal/32/8873_2.png) [@svishal](https://discuss.circleci.com/u/svishal)\
**Post date:** [August 22, 2017, 12:44pm UTC](https://discuss.circleci.com/t/not-able-to-install-php-7-0-pdo-dependencies-for-postgres/15591/1 "2017-08-22T12:44:45Z")

</div>

Hi,

We are using circleCI for deploying an application built on laravel and postgres on php 7.0. It was working fine for application running on circleCI version 1. But when we configured new application using laravel and postgres and php7.0, Its not running unit test. On checking we found, that pgsql pdo drivers are missing. Though the same was working for our prior application, but not for application on version 2.

- We tried different images too, if those docker images are lacking somewhere.
- We also tried to find which image was being used for version 1, so we can use the same image.
- Then we also tried to run sudo apt-get install php7.0-pgsql, which does the same job on our local machine. But all in vain.

If you can help us know, what is the cause of this problem, and how can we get rid of the error  
\*\*  
Caused by  
Doctrine\DBAL\Driver\PDOException: could not find driver\*\*

And the unit test executes successfully.

Thanks

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/circleci/original/3X/5/1/511608acda8e85906e15909b57bd0a46c1dbe291.png) [@system](https://discuss.circleci.com/u/system)\
**Post date:** [June 18, 2018, 11:33am UTC](https://discuss.circleci.com/t/not-able-to-install-php-7-0-pdo-dependencies-for-postgres/15591/2 "2018-06-18T11:33:13Z")

</div>


