Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 8E53D6510C1 for ; Wed, 25 Jun 2008 04:12:49 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 98793-02-6 for ; Wed, 25 Jun 2008 04:12:38 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from rv-out-0708.google.com (rv-out-0708.google.com [209.85.198.250]) by postgresql.org (Postfix) with ESMTP id 152606510EC for ; Wed, 25 Jun 2008 03:55:32 -0300 (ADT) Received: by rv-out-0708.google.com with SMTP id c5so8702925rvf.20 for ; Tue, 24 Jun 2008 23:55:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=V3SSXy8PExFycITOS5aYoQDh6GYQHFDhfaeMbGMsMmU=; b=bAMET3U3VF2pvEEDG0tbbj6+zP8LbYBj9Qb7zoRJ7rlvs0GtGfsCLdRHHbQb3uXynF is73UAXmBGd7ysNrs3gzY8dkhZcjZFkaRhf8S0jV5QVZ39Jk2yZKsNBDg/JUpx8pBt8m V6OAq7lukgjlx5rfKVeLAyySJD0w1TODLBm/E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=E70IGbb6vM1sdXZ2b8XEtBcZAZKRqhlA2kp2XzYEEiEsjv+0RMpUCglJGUPyDNZx1t rdCrBa9/Yvb8aPwCUYfMeCkpnwKY1fBrcEH9LbiA4XcEzJeaitjGVZx66Shxs7WizBJT 2gSgOkIYv9jmRFKJ7WpjlMRXEb32ATW+kT5KM= Received: by 10.141.20.7 with SMTP id x7mr15991036rvi.34.1214376930545; Tue, 24 Jun 2008 23:55:30 -0700 (PDT) Received: from ?10.1.1.5? ( [203.206.174.100]) by mx.google.com with ESMTPS id b39sm14362612rvf.8.2008.06.24.23.55.26 (version=TLSv1/SSLv3 cipher=RC4-MD5); Tue, 24 Jun 2008 23:55:28 -0700 (PDT) Message-ID: <4861EBDB.5010401@gmail.com> Date: Wed, 25 Jun 2008 16:55:23 +1000 From: Chris User-Agent: Thunderbird 2.0.0.14 (X11/20080505) MIME-Version: 1.0 To: roche magsayo CC: pgsql-php@postgresql.org. Subject: Re: Can't connect to postgresql using php References: <873a98c60806242327v521393cen2d13ee196d9122d0@mail.gmail.com> In-Reply-To: <873a98c60806242327v521393cen2d13ee196d9122d0@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200806/9 X-Sequence-Number: 3856 roche magsayo wrote: > Hello Everyone, > > I am new to apache, postgresql, and php but i manage to installed it > in my winxp laptop. My php and apache are working and i can connect to > mysql database. However, i can't connect to postgresql. Please help, > need it badly...Thank in advanced. What error do you get? Have you installed the php-pgsql.dll file and also edited the php.ini file to include it? Have you restarted apache? Does postgresql show up in a phpinfo() page? -- Postgresql & php tutorials http://www.designmagick.com/