Jump to content

PostGreSQl - Fatal error: Call to undefined function: pg_connect()


hc

Recommended Posts

Don't run PG, PHP, or anything useful on Windows, that should fix all your problems...


If you're deadset on windows, you need to put the .dll provided with Postgres into the extensions folder that php uses (often ext/ in your php folder) and then turn it on in the php.ini file

That should do 'er.
Thanks. I sort of HAVE to do this on Windows. It is my only available box right now. I dont have time to redo another one for PHP, PG.

Would you any chance know the name of the DLL for PG? And How do I turn it on in the PHP.ini?

I basically copied all the .dll in the PostGresql bin folder, but it did nothing. I thought it already WAS enabled in the PHP.INI, but no dice. Any thoughts? Thanks alot

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.