Apache, Php and postgresql on windows

From: "Abhishek Goyal" <abhishek(dot)goyal(at)hotmail(dot)com>
To: pgsql-php(at)postgresql(dot)org
Subject: Apache, Php and postgresql on windows
Date: 2006-01-20 18:56:32
Message-ID: BAY115-F4F609E2B2290D85DF85328A1F0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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

Responses

Browse pgsql-php by date

  From Date Subject
Next Message Randy Moller 2006-01-20 19:17:22 Re: Apache, Php and postgresql on windows
Previous Message Frank Bax 2006-01-17 16:29:15 Re: PHP - Clipper