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, whole thread or download thread mbox)
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.


NRIs, Free Money Transfers to over 30 Million Visa Cards in India.


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-2017 The PostgreSQL Global Development Group