Debian Bug report logs -
#523421
php5-pgsql: PHP5 fails to connect to SSL based PostgreSQL servers, but only in apache2
Reported by: Patrick Cole <z@amused.net>
Date: Fri, 10 Apr 2009 07:36:06 UTC
Severity: normal
Found in version php5/5.2.6.dfsg.1-1+lenny2
Fixed in version 5.2.6.dfsg.1-1+lenny4
Done: Ondřej Surý <ondrej@sury.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#523421; Package php5-pgsql.
(Fri, 10 Apr 2009 07:36:08 GMT) (full text, mbox, link).
Acknowledgement sent
to Patrick Cole <z@amused.net>:
New Bug report received and forwarded. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Fri, 10 Apr 2009 07:36:09 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
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:
[z@starfury][/var/www/htroot/test] $ php5 test.php
[z@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
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>:
Bug#523421; Package php5-pgsql.
(Fri, 10 Apr 2009 13:48:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Patrick Cole <z@amused.net>:
Extra info received and forwarded to list. Copy sent to Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>.
(Fri, 10 Apr 2009 13:48:04 GMT) (full text, mbox, link).
Message #10 received at 523421@bugs.debian.org (full text, mbox, reply):
We can close this one.
After doing a dist-upgrade, the problem has magically disappeared.
--
Patrick Cole
Email z@amused.net
Phone 0410626630
Reply sent
to Ondřej Surý <ondrej@sury.org>:
You have taken responsibility.
(Fri, 08 Jan 2010 16:48:04 GMT) (full text, mbox, link).
Notification sent
to Patrick Cole <z@amused.net>:
Bug acknowledged by developer.
(Fri, 08 Jan 2010 16:48:04 GMT) (full text, mbox, link).
Message #15 received at 523421-done@bugs.debian.org (full text, mbox, reply):
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ý <ondrej@sury.org>
http://blog.rfc1925.org/
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Sat, 06 Feb 2010 07:28:58 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 03:07:09 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.