Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id C4830476282 for ; Thu, 19 Sep 2002 16:43:35 -0400 (EDT) Received: from mail.ipatimup.pt (peterpan.ipatimup.pt [194.65.114.74]) by postgresql.org (Postfix) with ESMTP id 21CE3475EA8 for ; Thu, 19 Sep 2002 16:43:30 -0400 (EDT) Received: from ipatimup.pt (localhost [127.0.0.1]) by mail.ipatimup.pt (8.11.6/IPATIMUP) with SMTP id g8JKAGr27928; Thu, 19 Sep 2002 21:10:17 +0100 X-RAV-AntiVirus: This e-mail has been scanned for viruses on host: mail.ipatimup.pt Received: from 193.136.62.21 (proxying for unknown) (SquirrelMail authenticated user miguel) by www.ipatimup.up.pt with HTTP; Thu, 19 Sep 2002 21:10:17 +0100 (WEST) Message-ID: <3940.193.136.62.21.1032466217.squirrel@www.ipatimup.up.pt> Date: Thu, 19 Sep 2002 21:10:17 +0100 (WEST) Subject: Re: Where can I get error messages? From: "Miguel Carvalho" To: In-Reply-To: <3D6CEA4B.76516A2E@nsd.ca> References: <150770979970.20020828095147@surguttel.ru> <3D6CEA4B.76516A2E@nsd.ca> X-Priority: 3 Importance: Normal X-MSMail-Priority: Normal Cc: Reply-To: miguel@ipatimup.pt X-Mailer: SquirrelMail (version 1.2.6) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/42 X-Sequence-Number: 1497 > Why don't you use the DB::connect instead? > > "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: Can you login with the same user and password using pgsql? Are the database server and webserver running on the same machine? >> >> >> >> >> >> >> >> 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? If the script has stopped at pg_connect there are two things: - the database server isnt running - the password, login,machine ip you are using arent authorized to connect Take a look at the log of postgres. For this, i hope you havent sent the output of the postmaster to /dev/null. Miguel