LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-26-2005, 04:38 AM   #1
mwpeng
LQ Newbie
 
Registered: Feb 2005
Location: S.E.A.
Posts: 4

Rep: Reputation: 0
Fatal Error - Call to undefined function : pg_pconnect() in filename.php on line xx


I have been trying to install a database web server by using RedHat 9, Apache 1.3.33, PHP 4.3.10 and PostgreSQL 8.0.1 in an Intel Pentium 3 machine. But I have been facing a problems for the past few weeks.

All the above software have been successfully compiled and installed in to the machine. Apache has been worked with simple PHP 'Hello there' coding. When I try to start writing PHP code to connect to PostgreSQL, it failed with such an error message as follows :

Fatal Error - Call to undefined function : pg_pconnect() in filename.php on line xx.

Anybody out there; your help will be much appreciated !!!
 
Old 02-26-2005, 08:57 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,174
Blog Entries: 1

Rep: Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040Reputation: 2040
Are you sure that you have compiled php with postresql support?
Take a look here for details.

Regards
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP Call to undefined function imagettfbbox() QtCoder Programming 24 01-18-2012 12:20 PM
PHP: call to undefined function preg_match() (I think to do with PCRE) BuckRogers01 Linux - Software 1 10-17-2005 01:35 PM
Call to undefined function: mail() in PHP pembo13 Fedora 0 07-28-2004 07:40 PM
PHP: Call to undefined function: session_start() wellmt Linux - Newbie 2 06-01-2004 05:50 AM
Fatal error: Call to undefined function: mail() saeed Linux - Software 0 10-07-2003 03:59 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration