From: | "William Temperley" <willtemperley(at)gmail(dot)com> |
---|---|
To: | pgsql-php(at)postgresql(dot)org |
Subject: | Is pgsql threadsafe? |
Date: | 2008-03-13 23:21:33 |
Message-ID: | 439dc11e0803131621u5b7f7c62n6967cd5ad3354f95@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-php |
Hi all,
Last week I found the php_pgsql extension wouldn't work on IIS6,
windows server 2003, using php isapi. PHP was running fine, and I'm
99% certain the extension was loaded, extension_loaded() returned true
and a call to pg_connect produced no error messages, but no connection
either. No error messages were produced at all.
When the extension was not loaded I got the usual pg_connect()
undefined message.
I eventually got it running using fastcgi - which can run
non-threadsafe php on multithreaded web servers.
Is php_pgsql threadsafe? Is this usual behaviour? In which case I'm
going to abandon pgsql for pdo - I thought I was going to have to
rewrite my entire application about 3 days from the deadline 'til it
worked (hours of hair-tearing later) with fastcgi.
Thanks
Will
From | Date | Subject | |
---|---|---|---|
Next Message | Chris | 2008-03-14 00:10:58 | Re: Is pgsql threadsafe? |
Previous Message | Jeff MacDonald | 2008-03-12 16:29:03 | Re: first transactions |