Installing PHP-PGSQL on Linux
I feel like im going crazy. Im trying to install php-pgsql on linux so i can use the pdo pgsql driver and write to a database. Ive tried multiple ubuntu servers that I have all on different versions of ubuntu and its the same issue everytime
sudo apt-get install php-mysql error: php-pgsql : Depends: php7.0-pgsql but it is not going to be installed
ok.. so i try sudo apt-get install php7.0-pgsql The following packages have unmet dependencies: php7.0-pgsql : Depends: php7.0-common (= 7.0.33-0ubuntu0.16.04.16) but 7.0.33-47+ubuntu16.04.1+deb.sury.org+1 is to be installed
So then i try sudo apt-get php7.0-common php7.0-common is already the newest version (7.0.33-47+ubuntu16.04.1+deb.sury.org+1).
Im running php 7.4 on my server and php 7.4 on my CLI - any idea what i could be doing wrong?
Please or to participate in this conversation.