Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-php by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group