Tried phpinfo()
again, and it reports
Loaded Configuration File = C:\Program Files (x86)\PHP\v5.3\php.ini
which is correct and contains extension=php_pdo_pgsql.dll
and extension=php_pgsql.dll
. As for "the dll's are in the right place" (@Richard), I have problems making sure exactly what dll:s are needed and where they should be located, but I have in C:\Program Files (x86)\PHP\v5.3\ext\
both php_pdo_pgsql.dll
(version 5.3.12.0) and php_pgsql.dll
(version 5.3.12.0).
I read about a dependency on libpq.dll
and this is present in C:\Program Files (x86)\PHP\v5.3\
. Early in my "debugging" I copied the new libpq.dll
(version 8.4.4.10133) from PostgreSQL to that folder, having read somewhere that it might solve the problem. I now tried reverting to the old version (8.3.6.9034) that shipped with PHP, and VOILA!!!! Suddenly phpinfo()
says it has loaded both pdo and non-pdo pgsql modules.
MantisBT now loads the login screen at least. Whew!