LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 05: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, 09:57 AM   #2
bathory
Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 10,975

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

Regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 01:20 PM
PHP: call to undefined function preg_match() (I think to do with PCRE) BuckRogers01 Linux - Software 1 10-17-2005 02:35 PM
Call to undefined function: mail() in PHP pembo13 Fedora 0 07-28-2004 08:40 PM
PHP: Call to undefined function: session_start() wellmt Linux - Newbie 2 06-01-2004 06:50 AM
Fatal error: Call to undefined function: mail() saeed Linux - Software 0 10-07-2003 04:59 AM


All times are GMT -5. The time now is 06:04 PM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration