Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 247B2475CB8 for ; Wed, 28 Aug 2002 23:57:32 -0400 (EDT) Received: from mail.surguttel.ru (unknown [217.106.46.1]) by postgresql.org (Postfix) with ESMTP id DBF0B475B99 for ; Wed, 28 Aug 2002 23:57:30 -0400 (EDT) Received: from dr_sad (oper.surguttel.ru [217.106.46.7] (may be forged)) by mail.surguttel.ru (8.12.2/8.12.2/SuSE Linux 0.6) with ESMTP id g7TGukCH007756; Thu, 29 Aug 2002 09:56:46 -0700 Date: Thu, 29 Aug 2002 09:57:34 +0600 From: "dr_sad(surguttel)" X-Mailer: The Bat! (v1.53d) Reply-To: "dr_sad(surguttel)" X-Priority: 3 (Normal) Message-ID: <193857726615.20020829095734@surguttel.ru> To: Jean-Luc Lachance Cc: pgsql-php@postgresql.org Subject: Re: Where can I get error messages? In-Reply-To: <3D6CEA4B.76516A2E@nsd.ca> References: <150770979970.20020828095147@surguttel.ru> <3D6CEA4B.76516A2E@nsd.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavis-milter (http://amavis.org/) X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200208/100 X-Sequence-Number: 1445 Hi, Jean-Luc. Can't find any documents about "DB::connect" at www.php.net :( Give me please any links to that. And why "pg_connect" does not work properly? Script ex.: ---- cut --------- "); $s="host=dbserv port=5432 dbname=ll user=postgres password=gecnzr"; if (($db=pg_pconnect ($s))===false) {printf("FALSE! No connection!
");} printf("This is the end of script
"); ?> --- cut ----------- No errors messages... "Hello, world!
" - is the last line in generated html text :\ with respect, Andrey Wednesday, August 28, 2002, 9:20:43 PM, you wrote: JLL> Why don't you use the DB::connect instead? JLL> "dr_sad(surguttel)" wrote: >> >> I've installed Postgres 7.2.2 on Linux SuSE 8.0 Pro. >> >From other server (SuSE 8.0 Pro + Apache 2.0.39 + PHP 4.2.2) I'm trying >> to get access to Postgres database, using PHP-script: >> >> >> >> >> >> >> >> I've no errors messages both in PHP log and Postgres console, but HTML >> page was been generated this script are stoped on tag. Where >> can I get error messages? That is possible troubles? >> >> Thank You >> >> -- >> With respect, Andrey Sergeev >> >> ---------------------------(end of broadcast)--------------------------- >> TIP 2: you can get off all lists at once with the unregister command >> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org) JLL> ---------------------------(end of broadcast)--------------------------- JLL> TIP 4: Don't 'kill -9' the postmaster