From:             [EMAIL PROTECTED]
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



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to