PostgreSQL Extension not load

Hi, I created a project that requires the PostgreSQL extension, but even enabling the extension correctly (compiling and copying to external folder), the extension is not loaded. I created a page with phpinfo () to check the extensions. It seems that some DLL is missing to be copied along with the executable so that the php_pgsql.dll extension loads correctly.

Indeed, the DLL extension requires LIBPQ.dll. See https://www.postgresql.org/docs/8.2/static/install-win32.html for instructions about it.

I had already tried to copy the libpq.dll file to the same folder as the executable, but to no avail. I was able to make the extension work by replacing the extension php_pgsql.dll with another file of the same version (5.4) that I found.

Strange anyway. But great that it works for you finally.