Koozali.org: home of the SME Server

Need help getting PHP to see Postgresql

cydonia

Need help getting PHP to see Postgresql
« Reply #15 on: December 17, 2004, 05:12:53 PM »
Well.  i give up.

I've wasted enough time on this.


<---above left for the record :)--->

EDIT:  Issue resolved, see post below.


Huzzah.
Tristan

cydonia

Need help getting PHP to see Postgresql
« Reply #16 on: December 17, 2004, 06:09:45 PM »
Lucky for me i just can't quit with something like this...:D


I finally came across some useful information with regards to this problem where php ignores the extension pgsql.so.

From the help forum of PHPpgAdmin, i found this post:
http://sourceforge.net/forum/message.php?msg_id=1935458

Basically, if you are experiencing this problem and have already got "extension=pgsql.so" in your php.ini, but it still wont work, do the following:

cd /usr/lib
ln -s libpq.so.3 libpq.so.2
service httpd restart



This fixed the problem in my case.  Goodluck!  Hopefully some of the posters who experienced this problem in the past without resolving it will come across this thread:).


Big thanks to dave_d who patiently helped me in solving this issue.
EDIT: and who used the same command to solve a similar issue here:
http://forums.contribs.org/index.php?topic=24092.0
:-D


Cheers,
Tristan

dave_d

Need help getting PHP to see Postgresql
« Reply #17 on: December 17, 2004, 06:52:25 PM »
That's bizarre!!!

If you look carefully it was me who solved this in the very thread you found!!!!

Now I know I'm having senior moments ..... but at least I wrote it down!

Now, back to my printing problem .............
Regards,

Dave

cydonia

Need help getting PHP to see Postgresql
« Reply #18 on: December 17, 2004, 07:33:58 PM »
Quote from: "dave_d"
That's bizarre!!!

If you look carefully it was me who solved this in the very thread you found!!!!

Dave


Yeh i know, see my edit at the bottom of my post.  I searched the internet to its near limits, and the answer was here on contribs.org all along. :P  Oh the terrible and painful irony...


Quote from: "dave_d"


Now, back to my printing problem .............
Regards,

Dave


Goodluck with the bidding!:)