RE : Re: [PHP-DB] pg_escape_bytea missing despite Postgre v.7.4.14

From: Date: Wed, 07 Mar 2007 02:03:26 +0000
Subject: RE : Re: [PHP-DB] pg_escape_bytea missing despite Postgre v.7.4.14
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-43213@lists.php.net to get a copy of this message
Hello, Thanks for you reply. Yeah, sorry for the subjet, wrong manipulation from me. With a phpinfo(), I have pgsql section. Is it ok ? My version of PHP is 4.4.2, so this is ok too. pgsql PostgreSQL Support enabled Active Persistent Links 0 Active Links 0 Directive Local Value Master Value pgsql.allow_persistent On On pgsql.auto_reset_persistent Off Off pgsql.ignore_notice Off Off pgsql.log_notice Off Off pgsql.max_links Unlimited Unlimited pgsql.max_persistent Unlimited Unlimited --- Chris <dmagick@gmail.com> a écrit : > > > Call to undefined function: pg_escape_bytea() > > in/home/demo/phpgwapi/inc/adodb/drivers/adodb-postgres64.inc.php on line > 407 > > > > When searching the Web, some say it is due a bad version of PostgreSQL, > since > > pg_escape_bytea() arrived at v.7.2. > > > > My Webmin and pg_config --version say I have a 7.4.14 version. > > Firstly please use a more appropriate subject ;) It lets people quickly > know if they can help or not. > > Does a phpinfo() page show postgres support working (ie is there a big > section called "postgresql") ? > > Specifically what version of php are you using? This function came in at > 4.2.0+ > > http://php.net/pg_escape_bytea > > -- > Postgresql & php tutorials > http://www.designmagick.com/ > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > ___________________________________________________________________________ Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions ! Profitez des connaissances, des opinions et des expériences des internautes sur Yahoo! Questions/Réponses http://fr.answers.yahoo.com

« previous php.db (#43213) next »