X-Original-To: pgsql-php-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id BCD21D1E155 for ; Tue, 20 Apr 2004 22:49:26 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 16682-02 for ; Tue, 20 Apr 2004 22:49:24 -0300 (ADT) Received: from mailbox4.ucsd.edu (mailbox4.ucsd.edu [132.239.1.56]) by svr1.postgresql.org (Postfix) with ESMTP id 7E3F4D1EFA0 for ; Tue, 20 Apr 2004 13:11:28 -0300 (ADT) Received: from irpsmail.ucsd.edu (irpsmail.ucsd.edu [132.239.21.3]) by mailbox4.ucsd.edu (8.13.0.Alpha0/8.13.0.Alpha0) with ESMTP id i3KGBL8B082432; Tue, 20 Apr 2004 09:11:22 -0700 (PDT) Message-id: Date: Tue, 20 Apr 2004 09:11:21 -0700 Subject: Re: postgres, php and osx(panther) To: Cc: From: "Gary Hoffman" References: <2864.62.20.149.129.1082455541.squirrel@drizzlemail.drizzle.com> In-Reply-To: <2864.62.20.149.129.1082455541.squirrel@drizzlemail.drizzle.com> MIME-Version: 1.0 Content-type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MailScanner: PASSED (v1.2.8 58305 i3KGBL8B082432 mailbox4.ucsd.edu) X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200404/34 X-Sequence-Number: 2691 Reiner, If you put this command in a .php document, such as test.php, it will disclose all the modules compiled into PHP: Should you find that your PHP installation does not have support for PostgreSQL, consider downloading and installing a specially compiled versions of PHP for MacOS X. Aaron Faby has a great module at http://www.serverlogistics.com/php4.php I have this combo working well on my XServe running Panther. It can work for you. Best, Gary writes: >i'm trying to get pgsql and php to work on panther. >i need to know if i need to compile php for postgresql? > >when i read documentation it seems like the ability ti already configured. > >from the php_install documentation >The PHP module for the Apache web server included in Mac OS X. This >version includes support for the MySQL and PostgreSQL databases. > >i've followed the instruction on installing php. > i know apache works. >php works. i get the phpinfo call to return results >postgres works. i have created a database and tables, i just don't gre >php and postgres to work together. i'm looking for someone who has this >working who can help me out. > >thanks. > >reiner ************************************************************************** * Gary B. Hoffman, Computing Services Manager e-mail: ghoffman@ucsd.edu * * Graduate School of International Relations and Pacific Studies (IR/PS) * * University of California, San Diego (UCSD) voice: (858) 534-1989 * * 9500 Gilman Dr. MC 0519 fax: (858) 534-3939 * * La Jolla, CA 92093-0519 USA web: http://irps.ucsd.edu/ * **************************************************************************