PHP 4.0 Bug #8769: Persistent connections aren't closed when using dynamically loaded module
| From: | pete at byways dot org | Date: | Wed, 17 Jan 2001 23:28:51 +0000 |
| Subject: | PHP 4.0 Bug #8769: Persistent connections aren't closed when using dynamically loaded module | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-44425@lists.php.net to get a copy of this message | ||
From: pete@byways.org
Operating system: RedHat 7.0/Linux 2.2.16 x86
PHP version: 4.0.4pl1
PHP Bug Type: PostgreSQL related
Bug description: Persistent connections aren't closed when using dynamically loaded module
When using the PostgreSQL functions that have been compiled as a dynamically loaded module,
persistent connections do not seem to close properly.
I'm loading the module using the dl() function call within my script.
My original configure script was:
./configure \
--with-apxs=/usr/sbin/apxs \
--with-gettext=no \
--with-msql \
--with-pgsql=shared \
--without-mysql \
--without-gd \
--with-xml=shared \
--with-pdflib=/usr/local \
--enable-track-vars=yes \
--with-zlib \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--with-session=/tmp \
--enable-trans-sid
I fixed the problem by removing the "shared" from the --with-pgsql line.
--
Edit Bug report at: http://bugs.php.net/?id=8769&edit=1