Telen Stanley Telen Stanley - 1 year ago 88
PHP Question

Where can i find php-pgsql package for RedHat 7?

I am developing my project with

  • PHP 5.6.27

  • PostgreSQL 9.6.1

  • RedHat 7 OS

I had searched for the php_pgsql package everywhere.
also tried with some rpms. but still I am not able to get the package.

I developed my whole project in php_pgsql package in windows and i faced this issue when tried to shift from Windows to Linux.
please help to solve this. thank you.

Answer Source

In order to install that package, you'll need to remove the excluding rule for php in /etc/yum.conf.

Then install the package :

yum update
yum install php-pgsql

Hope it helps.