Error: Installing php-pgsql

I am trying to connect to a postgresql database on a remote machine. When I run “yum -y intall php-pgsql” I get the error below.

yum install php-pgsql
Loaded plugins: fastestmirror, langpacks, versionlock
Loading mirror speeds from cached hostfile
Resolving Dependencies
--> Running transaction check
---> Package php-pgsql.x86_64 0:5.4.16-46.el7 will be installed
--> Processing Dependency: php-pdo(x86-64) = 5.4.16-46.el7 for package: php-pgsql-5.4.16-46.el7.x86_64
--> Processing Dependency: libpq.so.5()(64bit) for package: php-pgsql-5.4.16-46.el7.x86_64
--> Running transaction check
---> Package php-pdo.x86_64 0:5.4.16-46.el7 will be installed
--> Processing Dependency: php-common(x86-64) = 5.4.16-46.el7 for package: php-pdo-5.4.16-46.el7.x86_64
---> Package postgresql-libs.x86_64 0:9.2.24-1.el7_5 will be installed
--> Running transaction check
---> Package php-common.x86_64 0:5.4.16-46.el7 will be installed
--> Processing Dependency: libzip.so.2()(64bit) for package: php-common-5.4.16-46.el7.x86_64
--> Running transaction check
---> Package libzip.x86_64 0:0.10.1-8.el7 will be installed
--> Processing Conflict: php56w-common-5.6.40-1.sng7.x86_64 conflicts php-common < 5.6
--> Finished Dependency Resolution
Error: php56w-common conflicts with php-common-5.4.16-46.el7.x86_64
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

I am running FreePBX 15.0.16

Thanks.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.