Your message dated Fri, 8 Jan 2010 17:44:18 +0100
with message-id <[email protected]>
and subject line #523421: php5-pgsql: PHP5 fails to connect to SSL based
PostgreSQL servers, but only in apache2
has caused the Debian Bug report #523421,
regarding php5-pgsql: PHP5 fails to connect to SSL based PostgreSQL servers,
but only in apache2
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
523421: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=523421
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: php5-pgsql
Version: 5.2.6.dfsg.1-1+lenny2
Severity: normal
When attempting to execute the following script via apache2
(http://www.linearg.com/test/test.php)
the following error occurs. This happened after upgrading php5 to lenny.
Warning: pg_connect() [function.pg-connect]: Unable to connect to PostgreSQL
server: could not create SSL context: no SSL error reported in
/var/www/htroot/test/test.php on line 3
All the script does is a pg_connect() - nothing else. The actual database
connection itself
is fine, this seems to be some underlying problem since upgrading.
If I run the same script in php5 (cli) it works fine:
[...@starfury][/var/www/htroot/test] $ php5 test.php
[...@starfury][/var/www/htroot/test] $
I'm not really sure how to go about debugging this one. Some direction would
be great.
-- System Information:
Debian Release: 3.0
APT prefers oldstable
APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8.1 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages php5-pgsql depends on:
ii libapache2-mod-php 5.2.6.dfsg.1-1+lenny2 server-side, HTML-embedded scripti
ii libc6 2.7-18 GNU C Library: Shared libraries
ii libpq5 8.3.6-1 PostgreSQL C client library
ii php5-cgi [phpapi-2 5.2.6.dfsg.1-1+lenny2 server-side, HTML-embedded scripti
ii php5-cli [phpapi-2 5.2.6.dfsg.1-1+lenny2 command-line interpreter for the p
ii php5-common 5.2.6.dfsg.1-1+lenny2 Common files for packages built fr
php5-pgsql recommends no packages.
php5-pgsql suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Version: 5.2.6.dfsg.1-1+lenny4
> We can close this one.
>
> After doing a dist-upgrade, the problem has magically disappeared.
--
Ondřej Surý <[email protected]>
http://blog.rfc1925.org/
--- End Message ---