K
K
koliane2020-03-04 21:12:02
PHP
koliane, 2020-03-04 21:12:02

How to install pdo drivers for postgresql on php7.2 Centos 7?

Please tell me how to install php PDO drivers for postgresql on centos 7. I can't find suitable ones. Perhaps you have already encountered this? and if you don't know, maybe for other operating systems (ubuntu or debian) there is information on how to find and install them?
php version 7.2

Answer the question

In order to leave comments, you need to log in

3 answer(s)
V
Vladimir Kuzin, 2020-03-05
@koliane

A working repository would be added, for starters. Then install the required packages.
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-relea...
yum install php72w-pgsql

A
Anton Shamanov, 2020-03-04
@SilenceOfWinter

https://www.postgresql.org/download/ who could guess...

V
Vladislav Lyskov, 2020-03-04
@Vlatqa

Uncomment the corresponding line in php.ini

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question