LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (http://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Fatal Error - Call to undefined function : pg_pconnect() in filename.php on line xx (http://www.linuxquestions.org/questions/linux-newbie-8/fatal-error-call-to-undefined-function-pg_pconnect-in-filename-php-on-line-xx-295048/)

mwpeng 02-26-2005 04:38 AM

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 !!!

bathory 02-26-2005 08:57 AM

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

Regards


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