RE: [PHP] Yet another Newb Question - error

From: Date: Fri, 13 Aug 2004 20:00:47 +0000
Subject: RE: [PHP] Yet another Newb Question - error
Groups: php.general 
Request: Send a blank email to php-general+get-193757@lists.php.net to get a copy of this message
[snip] Thanks to this newsgroup I finally overcame one of my biggest errors in PHP. But it still doesn't work completely. :) --- Fatal error: Call to undefined function: pg_connect() in /var/www/include/db.php on line 30 --- Undefined function? Isn't it a standard command? [/snip] From http://www.php.net/pgsql.php "In order to enable PostgreSQL support, --with-pgsql[=DIR] is required when you compile PHP. DIR is the PostgreSQL base install directory, defaults to /usr/local/pgsql. If shared object module is available, PostgreSQL module may be loaded using extension directive in php.ini or dl() function." Does PostGres show up in the test page we did earler? If not PHP needs to be compiled as stated above

« previous php.general (#193757) next »