logo       

Re: php and postgresql on windows: msg#00003

Subject: Re: php and postgresql on windows
Hi,

Try changing this:

extension_dir = "./;F:\PHP\ext\"

to

extension_dir = "./;F:/PHP/ext/"

it could be escaping the quote at the end incorrectly. Long shot ;)

(then restart the webserver).


Przemek Kowalczyk wrote:
Yes and Yes.

On 03/02/06, Chris <dmagick@xxxxxxxxx> wrote:

Hi,

Does the php_pgsql.dll file exist in the f:\php\ext folder?

Did you restart your webserver after making this change?

Przemek Kowalczyk wrote:

I am having trouble making php have postgresql support.  I saw a post
saying that if it is setup correctly you should see a psql entry. in
info.php.  I see no such entry.
My postgresql is setup correctly because I can connect to it, view
tables etc.  I am trying to setup php5, I installed it with apache2
and php itself works.  But I cannot get postgresql part to work.  I
have a simple script that I found when looking up the pg_connect
function but I get Fatal error: Call to undefined function
pg_connect() in F:\Program Files\Apache Group\Apache2\htdocs\index.php
on line 2
I also tried phppgadmin and it also gives me an error saying that
"Your PHP installation does not support PostgreSQL. You need to
recompile PHP using the --with-pgsql configure option."


In my php.ini I have
extension_dir = "./;F:\PHP\ext\"
and I have taken out the semi-colon in
extension=php_pgsql.dll

Is that all that's required to get the pg functions to work?

I tried inserting this dl('php_pgsql.dll'); into my script and still
says undefined function.



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
       choose an index scan if your joining column's datatypes do not
       match



---------------------------(end of broadcast)---------------------------
TIP 9: In versions below 8.0, the planner will ignore your desire to
      choose an index scan if your joining column's datatypes do not
      match



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
audio.irate.dev...    yellowdog.gener...    ietf.ips/2002-0...    xfree86.fonts/2...    busybox/2003-07...    emacs.jdee/2004...    linux.mandrake....    hardware.microc...    user-groups.lin...    science.analysi...    version-control...    db.filemaker.de...    cluster.openmos...    mail.eyebrowse....    text.xml.xerces...    kde.devel.kwrit...    finance.moneyda...    gcc.regression/...    network.routing...    os.freebsd.deve...    recreation.radi...    qnx.openqnx.dev...    python.xml/2002...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe