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 736159DC81E for ; Fri, 3 Feb 2006 00:15:36 -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 63225-08 for ; Fri, 3 Feb 2006 00:15:34 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.198]) by postgresql.org (Postfix) with ESMTP id 2B5CC9DC846 for ; Fri, 3 Feb 2006 00:15:33 -0400 (AST) Received: by uproxy.gmail.com with SMTP id s2so162130uge for ; Thu, 02 Feb 2006 20:15:33 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Zs2WnATg6iCS9Y8d3PPfB39/gMAr7M10Hq1gJIKuY+vA4kdvePu7F3tqtPKlJYpK20bwRcW+N6YsrbKQRLqL9P/pApVDMQKq4SkTzhqnHTj+DQ3G0cS6+f85xU/B8qUvr6dKquhzvgeo22XdlJsb/YbUGPj2dzdZ3n4nbnXVLdU= Received: by 10.66.245.1 with SMTP id s1mr742597ugh; Thu, 02 Feb 2006 20:15:33 -0800 (PST) Received: by 10.67.15.16 with HTTP; Thu, 2 Feb 2006 20:15:33 -0800 (PST) Message-ID: <4cb3dbb70602022015p38d6127aj@mail.gmail.com> Date: Thu, 2 Feb 2006 23:15:33 -0500 From: Przemek Kowalczyk To: pgsql-php@postgresql.org Subject: php and postgresql on windows MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.332 required=5 tests=[RCVD_IN_BL_SPAMCOP_NET=1.332] X-Spam-Score: 1.332 X-Spam-Level: * X-Archive-Number: 200602/1 X-Sequence-Number: 3417 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 =3D "./;F:\PHP\ext\" and I have taken out the semi-colon in extension=3Dphp_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.