← Back to team overview

ius-community team mailing list archive

php55u and postgresql 9.3 on centos 6

 

Hello

Is it possible to use php55u-pgsql package with the following postgresql
packages?

postgresql93-9.3.6-1PGDG.rhel6.x86_64
postgresql93-libs-9.3.6-1PGDG.rhel6.x86_64
postgresql93-server-9.3.6-1PGDG.rhel6.x86_64

As I see in the phpinfo output it show me that php has been linked with
older pgsql library

PostgreSQL Support enabled
PostgreSQL(libpq) Version 8.4.20
PostgreSQL(libpq) PostgreSQL 8.4.20 on x86_64-redhat-linux-gnu, compiled by
GCC gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-4), 64-bit
Multibyte character support enabled
SSL support enabled

# ldd /usr/lib64/php/modules/pgsql.so | grep sql
        libpq.so.5 => /usr/pgsql-9.3/lib/libpq.so.5 (0x00007fad004b2000)

But at the same time

# strings /usr/lib64/php/modules/pgsql.so | grep 8.4
PostgreSQL 8.4.20 on x86_64-redhat-linux-gnu, compiled by GCC gcc (GCC)
4.4.7 20120313 (Red Hat 4.4.7-4), 64-bit
8.4.20

So I'm a little bit confused. Could anyone point me in the right way?

Thanks in advance

Follow ups