hi everyone, I am new to php, i have been trying to connect my php5.2.5 page to postgreSQL8.2 in windowsXPprofessional using IIS(5.1) as my server, but i get FATAL ERROR: Call to undefined function pg_connect in C:/path. wat my previous search said is, to check for pgsql extension in phpinfo(); but unfortunately i was not unable to see any extensions for postgreSQL. So how do i confirm that i have extension for postgreSQL and to establish connection between my php and database postgreSQL. i have been with this issue for several hours, Any one help me out of this issue,Thankx a lot in advance.
In your php.ini, make sure that the pgsql extensions are uncommented. It should look something like: extension=php_pgsql.dll
Hi, Thanx for ur reply, i checked my php.ini file, which has many extensions for all the database,but thing is, extensions for all the database's are uncommented by default(no ; at the beginning of the line) so i am not able to uncomment it, will there be any problem with downloaded php5.2.5,and more over i can't able to see any separate session for pgsql and it's extension, wen i execute command phpinfo(); .So any more suggessions,Thnkx in advance