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 699A39DC9A5 for ; Wed, 11 Jan 2006 14:08:29 -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 32870-01 for ; Wed, 11 Jan 2006 14:08:28 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from xproxy.gmail.com (xproxy.gmail.com [66.249.82.204]) by postgresql.org (Postfix) with ESMTP id 00A4E9DC98E for ; Wed, 11 Jan 2006 14:08:26 -0400 (AST) Received: by xproxy.gmail.com with SMTP id s14so149577wxc for ; Wed, 11 Jan 2006 10:08:27 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hoWgHlNMlwzyJ7jnka3vz4W3fkur3DjF1faq1NHv0kGARY3Dyq6gtZMdJOAGnuxWgWrjD3VCJmKSz5IFy6Zz9aJ5ThStdgtM4734ZGwt760zVxWqzH2N0jDrT6f23dRoBxxopIlZ1yK++/Y+8TdWSUUs+iTKO6cbcIlBNdMB+Sw= Received: by 10.70.82.20 with SMTP id f20mr926022wxb; Wed, 11 Jan 2006 10:08:27 -0800 (PST) Received: by 10.70.8.1 with HTTP; Wed, 11 Jan 2006 10:08:27 -0800 (PST) Message-ID: Date: Wed, 11 Jan 2006 13:08:27 -0500 From: Patrick White To: pgsql-php@postgresql.org Subject: Fwd: Having tough time getting php working for postgresql.. In-Reply-To: <200601111900.25840.vygen@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <200601111900.25840.vygen@gmx.de> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.12 required=5 tests=[AWL=0.120] X-Spam-Score: 0.12 X-Spam-Level: X-Archive-Number: 200601/25 X-Sequence-Number: 3396 Thank you for the quick reply. I was actually able to get it up and running. It is always as soon as you hit the send button when the light bulb goes off. The issue I was having was that I didn't realise the order of which the server will look for the php.ini file (I thought it was simply looking in the PATH directories), such as the list I will provide for future reference: 1.PHPIniDir directive (Apache 2 module only) 2.HKEY_LOCAL_MACHINE\SOFTWARE\PHP\IniFilePath 3. The PHPRC environment variable 4. Directory of PHP (for CLI), or the web server's directory (for SAPI modules) 5. Windows directory (C:\windows or C:\winnt) My problem was that Apache was set to look in a directory that contained a completly default php.ini file. Thanks again, and I apologize for the premature post. Patrick ---------- Forwarded message ---------- From: Janning Vygen Date: Jan 11, 2006 1:00 PM Subject: Re: [PHP] Having tough time getting php working for postgresql.. To: pgsql-php@postgresql.org Cc: Patrick White Am Mittwoch, 11. Januar 2006 18:35 schrieb Patrick White: > Hello, > > I was having trouble with setting up php-pgsql, but I think I have it > up and running. Before I attempt to move forward with attempting to > code without knowing if the environment is setup correctly, does > anybody know what exactly I am looking for in the phpinfo() tables. I > did a find for pgsql, postgre, etc. and didn't find anything. you should find "pgsql" (look at the configuration parameters in http://www.php.net/manual/en/ref.pgsql.php ; they should be listed) > I am running Windows XP Pro, Apache 2, PHP 5.1.1, PostgreSQL 8.0. Consult http://www.php.net/manual/en/ref.pgsql.php Maybe you have to add the libary in your php.ini file kind regards janning