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 D0B019DCB60 for ; Fri, 20 Jan 2006 14:56:39 -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 32233-04 for ; Fri, 20 Jan 2006 14:56:38 -0400 (AST) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by postgresql.org (Postfix) with ESMTP id BD3F69DCB65 for ; Fri, 20 Jan 2006 14:56:36 -0400 (AST) Received: from hotmail.com (bay115-f4.bay115.hotmail.com [65.54.250.14]) by svr4.postgresql.org (Postfix) with ESMTP id 8ADD15AF076 for ; Fri, 20 Jan 2006 18:56:37 +0000 (GMT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Fri, 20 Jan 2006 10:56:32 -0800 Message-ID: Received: from 65.54.250.200 by by115fd.bay115.hotmail.msn.com with HTTP; Fri, 20 Jan 2006 18:56:32 GMT X-Originating-IP: [61.246.58.105] X-Originating-Email: [abhishek.goyal@hotmail.com] X-Sender: abhishek.goyal@hotmail.com From: "Abhishek Goyal" To: pgsql-php@postgresql.org Subject: Apache, Php and postgresql on windows Date: Sat, 21 Jan 2006 00:26:32 +0530 Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-OriginalArrivalTime: 20 Jan 2006 18:56:32.0578 (UTC) FILETIME=[3AB42220:01C61DF3] X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=1.919 required=5 tests=[DNS_FROM_RFC_ABUSE=0.479, DNS_FROM_RFC_POST=1.44, MSGID_FROM_MTA_HEADER=0] X-Spam-Score: 1.919 X-Spam-Level: * X-Archive-Number: 200601/41 X-Sequence-Number: 3412 Hello Everyone, I have installed apache, php and postgresql on my system. Now i am calling pg_connect() function. If i run the php script through command line everything is working fine. But when i run the same script through apache 2, it gives me an error Fatal error: Call to undefined function pg_connect() It seems in apache, php isn't able to access php_pgsql.dll, Where as in command line execution it is able to. What can be a possible fix for this. -Abhishek _________________________________________________________________ NRIs, Free Money Transfers to over 30 Million Visa Cards in India. http://creative.mediaturf.net/creatives/icicibank/MSN_VISA_TOL.htm