If anyone using PostgreSQL may encounter Fatal error: Call to undefined function pg_connect() initially. This is because the PostgreSQL module has not been initialized properly. I will tell you the steps for setting up PostgreSQL module in xampp
Steps
- Open php.ini
- Find ;extension=php_pgsql.dll and replace the initial semi colon
- Find ;extension=php_pdo_pgsql.dll and replace the initial semi colon
- Save the file
- Restart apache
Done !!
Share, if it helps you...
2 comments:
I met this problem,and I'm trying to check all connection types in pg-sql,but those things are right and i tried many times to clear this,after that i found ur post and try to make these changes,really wonderful u r,it's now working fine,Thanku so much,keep blogging,
Have a nice day
Oh yga, that's great. Thanks for driving by.
Post a Comment