Re: PHP and libpq version question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



dustin@xxxxxxxxxxxx wrote:
> Hello,
>
> I have compiled an apache/php rpm package for my servers on a box which is running postgresSQL 8.1.9.  On a server running 8.1.0  I get the following when trying to start apache.
>
> Cannot load /opt/apache/modules/libphp5.so into server: /opt/apache/modules/libphp5.so: undefined symbol: PQescapeStringConn
>
> Is this because of the version difference?

Yes. PQescapeStringConn was added to the 8.1.x libpq at 8.1.4 so it isn't
there on the older server, and PHP uses it. You should upgrade the older
PostgreSQL server due to security fixes anyway.

---------------------------(end of broadcast)---------------------------
TIP 7: You can help support the PostgreSQL project by donating at

                http://www.postgresql.org/about/donate

[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux