Problems with the Windows version of XAMPP, questions, comments, and anything related.
by mirkesss » 10. July 2005 23:13
i was trying to connect to my postgresql server, but i don't known where is problem.why this function doesn't exist(pg_connect)?
Have I a bad copy of xampp installation?Or XAMPP doesn't include it?
Fatal error: Call to undefined function pg_connect() in C:\apachefriends\xampp\htdocs\mirado\page\index.php on line 49
i tried too function_exists but same problem
thanks for any solution
mirkes
-
mirkesss
-
- Posts: 1
- Joined: 10. July 2005 23:07
by Maller » 11. July 2005 00:24
pg_connect() is used to make a connection to a postgreSQL database, xampp comes with MySQL, so you will need to use mysql_pconnect()
-
Maller
-
- Posts: 49
- Joined: 06. March 2004 14:47
by Wiedmann » 11. July 2005 10:47
Fatal error: Call to undefined function pg_connect() in C:\apachefriends\xampp\htdocs\mirado\page\index.php on line 49
i tried too function_exists but same problem
You must enable the PostgreSQL extension in php.ini:
extension=php_pgsql.dll
-
Wiedmann
- AF Moderator
-
- Posts: 17102
- Joined: 01. February 2004 12:38
- Location: Stuttgart / Germany
Return to XAMPP for Windows
Who is online
Users browsing this forum: No registered users and 81 guests