Re: php 4.2 postgresql 7.3 help
От | Oliver Elphick |
---|---|
Тема | Re: php 4.2 postgresql 7.3 help |
Дата | |
Msg-id | 1044222066.32731.530.camel@linda.lfix.co.uk обсуждение исходный текст |
Ответ на | Re: php 4.2 postgresql 7.3 help (Nick Gazaloff <nick@sbin.org>) |
Список | pgsql-general |
On Sun, 2003-02-02 at 21:15, Nick Gazaloff wrote: > > You'll need to recompile PHP against the 7.3 headers and libraries. > > No, it's possible to create a link like this: > > cd $PGHOME/lib > ln -s libpq.so.3 libpq.so.2 > ldconfig It's possible, but it's a horrible kludge. The API has changed, so the library has a different soname. That is deliberate; a program that has been built with one version of the library will not necessarily work with a different version; you could cause segfaults or other unexpected results. The proper solution is to update the PHP program or to install an older version of the library - you can extract one from a binary distribution of 7.2.x, or build 7.2.4 from source. Two different versions of the library can coexist; the newer one should be linked to libpq.so, for compiling new programs. -- Oliver Elphick Oliver.Elphick@lfix.co.uk Isle of Wight, UK http://www.lfix.co.uk/oliver GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839 932A 614D 4C34 3E1D 0C1C ======================================== "Love not the world, neither the things that are in the world. If any man love the world, the love of the Father is not in him...And the world passeth away, and the lust thereof; but he that doeth the will of God abideth for ever." I John 2:15,17
В списке pgsql-general по дате отправления: