hc Posted September 15, 2006 Share Posted September 15, 2006 I realize this error is from the fact that PHP does not recognize that I have PostGreSQL installed, but how do I fix it? I am running Windows 2003, IIS 6, and PHP 4.4(?) I used the windows installer version. Thanks for any help.hc Link to comment https://forums.phpfreaks.com/topic/20884-postgresql-fatal-error-call-to-undefined-function-pg_connect/ Share on other sites More sharing options...
bholbrook Posted September 15, 2006 Share Posted September 15, 2006 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 fileThat should do 'er. Link to comment https://forums.phpfreaks.com/topic/20884-postgresql-fatal-error-call-to-undefined-function-pg_connect/#findComment-92580 Share on other sites More sharing options...
hc Posted September 15, 2006 Author Share Posted September 15, 2006 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 Link to comment https://forums.phpfreaks.com/topic/20884-postgresql-fatal-error-call-to-undefined-function-pg_connect/#findComment-92664 Share on other sites More sharing options...
hc Posted September 16, 2006 Author Share Posted September 16, 2006 anyone? Any help would be appreciated. ThanksHC Link to comment https://forums.phpfreaks.com/topic/20884-postgresql-fatal-error-call-to-undefined-function-pg_connect/#findComment-93003 Share on other sites More sharing options...
hc Posted September 21, 2006 Author Share Posted September 21, 2006 anyone with any thoughts on getting this running. I still cant get it figured out. ThanksHC Link to comment https://forums.phpfreaks.com/topic/20884-postgresql-fatal-error-call-to-undefined-function-pg_connect/#findComment-96162 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.