Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 308
Telen Stanley Avatar asked Mar 09 '26 00:03

Telen Stanley


1 Answers

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.

like image 53
JazZ Avatar answered Mar 11 '26 14:03

JazZ



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!