| От | Tomek |
|---|---|
| Тема | PHP & PostrgreSQL |
| Дата | |
| Msg-id | 005901c1f46e$bff26bc0$2eef4dd5@f2q2x6 обсуждение исходный текст |
| Список | pgsql-cygwin |
I've got Apache+PHP4 running under Win98 and PostgreSQL under Cygwin/Win98 (with postmaster listening on TCP/IP). Every think is OK when I connect to PostgreSQL from my php script (using pg_connect() function) except for disconnecting from it. At the end of any script that establishes connection with PostgreSQL I use pg_close() function and see on postmaster output that a "user" has exited but PostgreSQL is still listening on that port like as it was waiting for a next request. So, after running few php pages I've got too many open connections and finally postmaster is reporting an error. Could you tell me why after invoking pg_close() php.exe doesn't really close it, or why PostgreSQL is still listening on a port that is no longer used? Thanks in advance and sorry for my English Tomek
В списке pgsql-cygwin по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера