Thread: Seeking advice on getting started with PHP & PG in Debian

Seeking advice on getting started with PHP & PG in Debian

From
"Nick Fankhauser - Doxpop"
Date:
Hi-

I've been using postgresql via JDBC for some time, and now I'm interested in
learning what PHP can do for me. I've got a database ready to go, but I'm
not sure what components I'll need to get in order to set up PHP & connect
it to PGSQL.

My Platform is Debian Linux (Woody) & the database resides on another
machine & accepts IP connections.

It looks like PHP3 & PHP4 are available in Debian packages, but there are
quite a few components to choose from. If anyone else out there is running
on Debian, I'd appreciate some advice about which packages I should install
to get started and whether PHP3 or PHP4 is the wiser choice.

Thanks.
    -Nick

---------------------------------------------------------------------
Nick Fankhauser

    nickf@doxpop.com  Phone 1.765.965.7363  Fax 1.765.962.9788
doxpop - Court records at your fingertips - http://www.doxpop.com/


Re: Seeking advice on getting started with PHP & PG in Debian

From
brew@theMode.com
Date:
Nick.....

> but I'm not sure what components I'll need to get in order to set up PHP
> & connect it to PGSQL.

I'm running Debian Linux with php and postgreSQL on my development laptop.


Go with php4, it has everything plus more that php3 has.

I've got these modules loaded for serving php postgesql webpages.

apache
apache-common
php4
php4-pgsql

and you may also want to load

php4-curl - if you want your server to connect as a client to other
websites via secure connection (for credit card verification and such)

phppgadmin - a set of scripts to adminster postgreSQL remotely

and of course phpdoc and postgresql-doc.

I also have postgresql and postgresql-client on my machine, but in your
case they will be on your remote machine.

Hope I didn't leave anything out.

brew

 ==========================================================================
                  Strange Brew   (brew@theMode.com)
     Check out my Musician's Online Database Exchange (The MODE Pages)
                        http://www.TheMode.com
 ==========================================================================


Re: Seeking advice on getting started with PHP & PG in Debian

From
"Nick Fankhauser"
Date:
Thanks Brew- That was exactly what I needed. -NF

> -----Original Message-----
> From: pgsql-php-owner@postgresql.org
> [mailto:pgsql-php-owner@postgresql.org]On Behalf Of brew@theMode.com
> Sent: Friday, April 11, 2003 4:24 PM
> To: pgsql-php@postgresql.org
> Subject: Re: [PHP] Seeking advice on getting started with PHP & PG in
> Debian
>
>
>
> Nick.....
>
> > but I'm not sure what components I'll need to get in order to set up PHP
> > & connect it to PGSQL.
>
> I'm running Debian Linux with php and postgreSQL on my development laptop.
>
>
> Go with php4, it has everything plus more that php3 has.
>
> I've got these modules loaded for serving php postgesql webpages.
>
> apache
> apache-common
> php4
> php4-pgsql
>
> and you may also want to load
>
> php4-curl - if you want your server to connect as a client to other
> websites via secure connection (for credit card verification and such)
>
> phppgadmin - a set of scripts to adminster postgreSQL remotely
>
> and of course phpdoc and postgresql-doc.
>
> I also have postgresql and postgresql-client on my machine, but in your
> case they will be on your remote machine.
>
> Hope I didn't leave anything out.
>
> brew
>
>
> ==========================================================================
>                   Strange Brew   (brew@theMode.com)
>      Check out my Musician's Online Database Exchange (The MODE Pages)
>                         http://www.TheMode.com
>
> ==========================================================================
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
>