Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 9187D4764A8 for ; Fri, 20 Sep 2002 00:59:55 -0400 (EDT) Received: from marsha.pcisys.net (marsha.pcisys.net [216.229.32.146]) by postgresql.org (Postfix) with ESMTP id AF8AD475BC3 for ; Fri, 20 Sep 2002 00:59:54 -0400 (EDT) Received: from [216.229.45.53] (moe.rbe45-53.cos.pcisys.net [216.229.45.53]) by marsha.pcisys.net (8.12.5/8.12.5) with ESMTP id g8K4xE7V025978 for ; Thu, 19 Sep 2002 22:59:14 -0600 (MDT) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.4 Date: Thu, 19 Sep 2002 22:59:14 -0600 Subject: Re: form response From: Keary Suska To: Postgres-PHP Message-ID: In-Reply-To: Mime-version: 1.0 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: 7bit X-Virus-Scanned: by AMaViS new-20020517 X-Archive-Number: 200209/45 X-Sequence-Number: 1500 on 9/19/02 5:52 PM, warrenmassengill@hotmail.com purportedly said: > In: > /etc/httpd/conf/httpd.conf > AddType application/x-httpd-php .php > (appears as above plus an entry for each of php2,3,&4) > LoadModule php4_module modules/libphp4.so > LoadModule php_module modules/mod_php.so > > These were all uncommented in the generic installation of RedHat 7.2. > Where else can I look? > > I can create forms in php and tables in PostgreSQL but according to > phpinfo(), php is not configured for PostgreSQL. > If I survive this problem, that one is on the horizon. Hmm, if the above directives appear in your conf in that order I think that is the problem. I am surprised that Apache isn't croaking with an error, since the module may need to be loaded before Apache understands what to do with x-httpd-php. That may not truly be the case, but it does seem suspect. What happens when you move the AddType to below the AddModule? Do the Apache error logs have anything to say? Do these directives appear in a context (such as ? How are you accessing phpinfo() if PHP scripts don't execute? Are you *sure* you built PHP as a module and *not* as a cgi? Keary Suska Esoteritech, Inc. "Leveraging Open Source for a better Internet"