Wednesday, October 26, 2022

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

Issue

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.


Solution

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.



Answered By - JazZ
Answer Checked By - Willingham (WPSolving Volunteer)