[php-maint] Bug#339362: php5-pgsql: pgsql extension crashes apache2

Shane Wegner shane at debian.org
Tue Nov 15 20:27:37 UTC 2005

Package: php5-pgsql
Version: 5.0.5-3
Severity: important

I am attempting to upgrade from apache 1 to 2 and am getting a segfault in apache2
when the pgsql.so php5 extension is loaded.  This occurs regardless of which
other php extensions are loaded and occurs when pgsql.so is the only
extention enabled.  The segfault is not on startup but rather in the child
process and only occurs on a page which uses the pg functions.

note: php5-pgsql with apache 1.x works fine.

If I can be of any further assistance in tracking this down, please let me


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing'), (450, 'stable'), (400, 'unstable'), (10, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12-1-speakup-686-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages php5-pgsql depends on:
ii  debconf [debconf-2.0]         1.4.58     Debian configuration management sy
ii  libapache-mod-php5 [phpapi-20 5.0.5-3    server-side, HTML-embedded scripti
ii  libapache2-mod-php5 [phpapi-2 5.0.5-3    server-side, HTML-embedded scripti
ii  libc6                         2.3.5-6    GNU C Library: Shared libraries an
ii  libpq4                        8.1.0-2    PostgreSQL C client library
ii  php5-common                   5.0.5-3    Common files for packages built fr

php5-pgsql recommends no packages.

-- debconf information:
* php5/extension_pgsql_cli: true
* php5/extension_pgsql_apache2: true
  php5/remove_extension: true
  php5/add_extension: true
* php5/extension_pgsql_apache: true

More information about the pkg-php-maint mailing list