Problem scenario
You are trying to integrate PHP and Postgresql on you Ubuntu/Debian Linux OS. You run this command: sudo apt-get -y install php-pgsql
You receive this error:
Reading package lists… Done
Building dependency tree
Reading state information… Done
E: Unable to locate package php-pgsql
What should you do?
Solution
#1 Find out what version of php you have.
…
Continue reading “How Do You Fix the Problem “Unable to locate package php-pgsql”?”