#19856 [Opn->Fbk]: missing function

From: Date: Thu, 10 Oct 2002 23:34:17 +0000
Subject: #19856 [Opn->Fbk]: missing function
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-22117@lists.php.net to get a copy of this message
ID: 19856 Updated by: sniper@php.net Reported By: cuek_saja@yahoo.com -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] cuek_saja@yahoo.com psql (PostgreSQL) 7.2.1 ------------------------------------------------------------------------ [2002-10-10 17:16:18] cuek_saja@yahoo.com 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

« previous php.bugs (#22117) next »