I have been trying PHP + nginx on windows, well everythng worked fine until I had to use postgres.
Error:
Fatal error: Call to undefined function pg_connect() in C:\nginx\html\main.php on line 15
Whenevr I try initiating a postgres connection this happens.
I checked and there is nothing wrong on line 15(or before or after). I know this as I have specially downloaded and installed WAMP with postgres as database everything works fine.