you have persistent connections enabled in php.ini?
pgsql-php by date:
Соглашаюсь с условиями обработки персональных данных