Package: php4-pgsql
Version: 3:4.3.10-5
Severity: grave
Justification: renders package unusable
Hi,
it seems that after my upgrade to postgresql-7.4, php can't connect
anymore to the SQL server locally. It looks for the UNIX socket in
/tmp/.s.PGSQL.5432 while it is actually in
/var/run/postgresql/.s.PGSQL.5432.
I don't remember having changed anything about the location of the
socket, either in PHP or Postgres configuration files. Although, it is
possible to workaround this, for instance:
# ln -sf /var/run/postgresql/.s.PGSQL.5432 /tmp/.s.PGSQL.5432
I just thought this would certainly harm only local connections, so I
set the severity to "Grave" in the first place, but feel free to lower
it if you think it won't affect a vast majority of users. Another
workaround then could be to allow local TCP connections and use the
loopback address (which is the default iirc).
HTH.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.4.29
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Versions of packages php4-pgsql depends on:
ii debconf [debconf-2.0] 1.4.51 Debian configuration management sy
ii libapache-mod-php4 [phpapi- 4:4.3.10-15 server-side, HTML-embedded scripti
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libpq4 8.0.3-5 PostgreSQL C client library
-- debconf information:
php4/add_extension: true
php4/remove_extension: true
php4/extension_pgsql_apache: true
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]