X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id 32A339DCE23 for ; Fri, 3 Feb 2006 01:14:26 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 74082-06 for ; Fri, 3 Feb 2006 01:14:23 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.196]) by postgresql.org (Postfix) with ESMTP id 198579DCB53 for ; Fri, 3 Feb 2006 01:14:21 -0400 (AST) Received: by zproxy.gmail.com with SMTP id 14so592463nzn for ; Thu, 02 Feb 2006 21:14:20 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=B1Pjfj6vClYcILlSZrHmbXSUAdT49JcoYWhuaFN6oE/nokaNeKy9OGZJYRVtCrfQQ2S4cgIGdjrTVtkasXUQNqoDlez2i2soKrwMw+w7jgcoTDYKlFPfJ0vTZF3Kj5UFtOPW8Kfu/rdL4Pb7PNLN+tIVWjAyVNz6TF4TnQgFKQM= Received: by 10.36.46.5 with SMTP id t5mr1258887nzt; Thu, 02 Feb 2006 21:14:20 -0800 (PST) Received: from ?10.1.1.21? ( [203.217.18.65]) by mx.gmail.com with ESMTP id p4sm1257308nzc.2006.02.02.21.14.19; Thu, 02 Feb 2006 21:14:20 -0800 (PST) Message-ID: <43E2E6AA.7050407@gmail.com> Date: Fri, 03 Feb 2006 16:14:18 +1100 From: Chris User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Przemek Kowalczyk CC: pgsql-php@postgresql.org Subject: Re: php and postgresql on windows References: <4cb3dbb70602022015p38d6127aj@mail.gmail.com> <43E2E397.3030304@gmail.com> <4cb3dbb70602022103l57309b98l@mail.gmail.com> In-Reply-To: <4cb3dbb70602022103l57309b98l@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.137 required=5 tests=[AWL=0.137] X-Spam-Score: 0.137 X-Spam-Level: X-Archive-Number: 200602/4 X-Sequence-Number: 3420 Hi, Try changing this: extension_dir = "./;F:\PHP\ext\" to extension_dir = "./;F:/PHP/ext/" it could be escaping the quote at the end incorrectly. Long shot ;) (then restart the webserver). Przemek Kowalczyk wrote: > Yes and Yes. > > On 03/02/06, Chris wrote: > >>Hi, >> >>Does the php_pgsql.dll file exist in the f:\php\ext folder? >> >>Did you restart your webserver after making this change? >> >>Przemek Kowalczyk wrote: >> >>>I am having trouble making php have postgresql support. I saw a post >>>saying that if it is setup correctly you should see a psql entry. in >>>info.php. I see no such entry. >>>My postgresql is setup correctly because I can connect to it, view >>>tables etc. I am trying to setup php5, I installed it with apache2 >>>and php itself works. But I cannot get postgresql part to work. I >>>have a simple script that I found when looking up the pg_connect >>>function but I get Fatal error: Call to undefined function >>>pg_connect() in F:\Program Files\Apache Group\Apache2\htdocs\index.php >>>on line 2 >>>I also tried phppgadmin and it also gives me an error saying that >>>"Your PHP installation does not support PostgreSQL. You need to >>>recompile PHP using the --with-pgsql configure option." >>> >>> >>>In my php.ini I have >>>extension_dir = "./;F:\PHP\ext\" >>>and I have taken out the semi-colon in >>>extension=php_pgsql.dll >>> >>>Is that all that's required to get the pg functions to work? >>> >>>I tried inserting this dl('php_pgsql.dll'); into my script and still >>>says undefined function. >> >> > > ---------------------------(end of broadcast)--------------------------- > TIP 9: In versions below 8.0, the planner will ignore your desire to > choose an index scan if your joining column's datatypes do not > match >