Telen Stanley
Telen Stanley

Reputation: 330

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

I am developing my project with

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.

Upvotes: 3

Views: 3000

Answers (2)

Sami
Sami

Reputation: 8419

The accepted answer did not help me, the official link did

  1. Install CentOS SCLo RH repository:

    sudo yum install centos-release-scl-rh

  2. Install rh-php72-php-common rpm package:

    sudo yum install rh-php72-php-common

Reference: https://centos.pkgs.org/7/centos-sclo-rh-x86_64/rh-php72-php-common-7.2.24-1.el7.x86_64.rpm.html#download

Upvotes: 0

JazZ
JazZ

Reputation: 4579

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.

Upvotes: 2

Related Questions