Re: Having tough time getting php working for postgresql..

From: brew(at)theMode(dot)com
To: pgsql-php(at)postgresql(dot)org
Subject: Re: Having tough time getting php working for postgresql..
Date: 2006-01-10 07:16:34
Message-ID: Pine.BSF.4.58.0601100204230.81808@themode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php


Jagan......

> But I want to get php working with pgsql so that I can do some web develoement.

Check that you have php working using the php_info function. Place a file
in your web area containing this:

<?php
phpinfo();
?>

If php is working it should show a bunch of info. Read about the
phpinfo() function at:

http://php.net/manual/en/function.phpinfo.php

You further need postgreSQL support. This is for the postgreSQL php
functions. It should report this on the page, under the heading pgsql.

If you don't have it, you'll have to figure out how to add it.

If postgreSQL support shows on the phpinfo output the next step is to make
a connection to the database.

At which point are you having problems? I can't help you with Red Hat as
I use Debian, but it must be similar.

brew

==========================================================================
Strange Brew (brew(at)theMode(dot)com)
Check out my Stock Option Covered Call website http://www.callpix.com
and my Musician's Online Database Exchange http://www.TheMode.com
==========================================================================

In response to

Browse pgsql-php by date

  From Date Subject
Next Message manjusri schuit 2006-01-10 14:04:43 Re: Having tough time getting php working for postgresql..
Previous Message Jeff MacDonald 2006-01-09 23:00:21 Re: Having tough time getting php working for postgresql..