Page 1 of 1

multithreaded Web servers - using Postgres extension

Posted: Sat Jun 07, 2008 4:58 am
by ampersandz
We have recently switched to a multi-threaded server and now I can't get Postgres working with PHP. Please help.

The dl() function doesn't work with multi-threaded servers (and I've tried it).
I've tried adding extension=php_pgsql.dll into php.ini under [PHP_PGSQL] and [POSTGRES] and dynamic extensions (simultaneously and separately)
I've tried reinstalling php
I've tried using the recommended php.ini file (changing it so that extension_dir and extension=php_pgsql.dll are set)

the extension exists at "c:\program files\php\ext\php_pgsql.dll"
extension_dir = "c:\program files\php\ext"
The server runs IIS.
PHP version: 5.2.6.6
Postgres version: 8.3.1.876