The Windows version of PHP doesn't quite work like that. All you should
need to do is load the extension. Have you uncommented these lines
(removed the semi-colon)?:
;extension=php_pgsql.dll
;extension=php_pdo_pgsql.dll
Once you've done that, restart Apache and you should be good to go.
Toby
On 17/01/2016 01:03, Peter Gostelow wrote:
> Hi,
>
> I installed an 'EnterpriseDB-ApachePHP' binary package that included
> apache
> 2.2, postgresql 9.2, and php 5.4. That was years ago. I now want to
> upgrade
> to to php 5.5 and higher. I have installed apache 2.4, postgresql 9.3,
> and
> php 5.5. They work fine.
>
> The problem is that the php I downloaded from windows.php.net was not
> configured with pdo postgres. I cannot use VC11 to compile my own php
> because it doesn't work with vista system. Google hasn't turned up any
> php
> binaries with pg enabled and it seems EnterpriseDB have dropped their
> support for apache/php.
>
> Either I am missing something, should switch to gnu/linux, or beg
> someone to
> build a binary with pg support.
>
> Any suggestions?
>
> Thanks
> Peter
>
>