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

Re: postgresql-8.4



Hi,

* Marcin Floryan <marcin.floryan@gmail.com> [2010-11-18 02:04:52 CET]:
> It turns out, after the installation, that postgresql runs perfectly
> well but I have failed to get PHP connect to the database.

 Can't reproduce the issue. In fact, I can even connect with php5-pgsql
to postgresql-9.0, where I would expect more troubles than with
postgresql-8.4.  With just a createuser call to add a (super) user
and no special configuration tweaking I was able to get the following
php code to connect:

<?php
pg_connect("dbname=postgres user=rhonda host=localhost port=5432 password=testpw");
?>

> Backports do provide new version of libpq5 which PHP is using to
> connect but lenny's version of PHP 5.2.6-1+lenny9 is build with
> PostgreSQL(libpq) Version 	8.3.11 which does not seem to be compatible
> with postgresql 8.4 and although backports do provide a newer version
> of the lib - there isn't an update to PHP.

 It is compatible. If you have any logs or error messages to back up
your theory it would be quite helpful. In general, there is no such
problem and I suspect that there is issues with your setup, permissions
and configuration. Please provide additional information about your
troubles, what you have tried, what messages you received and what you
have investigated already.

 Thanks,
Rhonda
-- 
<dholbach> Last day of https://wiki.ubuntu.com/UbuntuDeveloperWeek starting in
           34 minutes in #ubuntu-classroom on irc.feenode.net
 * ScottK hands dholbach an "r".
<Rhonda> Are they fundraising again?


Reply to: