Re: [PHP4BETA] Postgres support]
| From: | Peter Banik | Date: | Thu, 22 Jul 1999 23:38:20 +0000 |
| Subject: | Re: [PHP4BETA] Postgres support] | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-2578@lists.php.net to get a copy of this message | ||
-------- Original Message --------
Subject: Re: [PHP4BETA] Postgres support
Date: Thu, 22 Jul 1999 22:41:32 +0200
From: Peter Banik <peter@pressflex.com>
To: yg@stranger.com
References: <37976DA3.CAC75B7F@pressflex.com>
<19990722132651.A36976@future.stranger.com>
Well, forgot to mention important information:
- SuSE Linux 6.0
- Apache 1.3.6
- Postgres 6.4.2
Does this make any sense?
Peter
> > testing my PHP3 scripts under 4.0b1, I noticed that Postgres
> > support is missing from the extensions listed by phpinfo().
> > Pgsql was compiled in, though, compilation was performed
> > normally:
> >
> > Making all in pgsql
> > make[2]: Entering directory
> > `/usr/src/stuff/apache/php4/php-4.0b1/ext/pgsql'
> > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../libzend
> > -I../../TSRM -I/web/php4/include
> > -I/usr/local/include/mysql -I/usr/lib/pgsql/include
> > -I../.. -I../../libzend -g -O2 -c pgsql.c
> > rm -f libphpext_pgsql.a
> > ar cru libphpext_pgsql.a pgsql.o
> > ranlib libphpext_pgsql.a
> > make[2]: Leaving directory
> > `/usr/src/stuff/apache/php4/php-4.0b1/ext/pgsql'
> >
> > Scripts use to fail when opening a DB handle via
> > pg_connect() or pg_pconnect().
> >
> > Has anyone failed/succeed with Postgres in PHP4?
> >
> > TIA,
> >
> > Peter
> >
> > --
> > PHP 4 Beta
> >
> Postgers support works just fine for me.
>
> FreeBSD-3.2, PostgreSQL -6.5, php4.0B1