ID: 19856 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Open +Status: Feedback Bug Type: PostgreSQL related Operating System: Redhat Linux 7.x kernel 2.4.9-34 PHP Version: 4.2.1 New Comment:
In main/php_config.h, is this defined: HAVE_PQESCAPE And if it isn't, check config.log for reason WHY the check for it fails (search it for PQescapeString) Previous Comments: ------------------------------------------------------------------------ [2002-10-10 17:17:42] [EMAIL PROTECTED] psql (PostgreSQL) 7.2.1 ------------------------------------------------------------------------ [2002-10-10 17:16:18] [EMAIL PROTECTED] Using php v.4.2.1. All other postgres functions i've tried work but if i try to call pg_escape_string or pg_escape_bytea i get an undefined function error, like so... Fatal error: Call to undefined function: pg_escape_string() in here's my configure command, in case it helps. './configure' '--with-mysql' '--with-pgsql=/opt/pgsql' '--with-apxs=/usr/local/apache_1.3.26/bin/apxs' '--with-xml' '--with-gd=/opt/gd' '--enable-track-vars' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=19856&edit=1