Thanks SeijiSensei for writing anything and generally thank you everyone for no help at all. I got used to it on this forum.

For the record, I have not resolved this particular issue. There is one thing however - pgsql is not included when php is ran by webserver. If I run it from CLI and check php -i.... the php_pdo_pgsql and php_pgsql are both loaded!

If you happen to know how to make it work, please, be so kind and reply. Any kind of input is priceless.