pg.ddx.io pgsql-php@postgresql.org mailing list archive
help / color / mirror / Atom feedHow to verify PHP has PostgreSQL support?
5+ messages / 4 participants
[nested] [flat]
* How to verify PHP has PostgreSQL support?
@ 2000-12-09 20:00 Mark Christenson <mark.christenson@alumni.stanford.org>
2000-12-09 20:10 ` Re: How to verify PHP has PostgreSQL support? nathan@0x00.org
2000-12-11 13:57 ` Re: How to verify PHP has PostgreSQL support? Adam Lang <aalang@rutgersinsurance.com>
0 siblings, 2 replies; 5+ messages in thread
From: Mark Christenson @ 2000-12-09 20:00 UTC (permalink / raw)
To: pgsql-php
I ran configure and used the --with-pgsql option. Things seemed to
build okay. However, when I run a web page with a pg_Connect
statement, I get a parse error, which leads me to believe PHP doesn't
have the correct flags set.
I realize this may be more of a PHP question, but I'm hoping somebody
here can help ;-)
Mark
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: How to verify PHP has PostgreSQL support?
2000-12-09 20:00 How to verify PHP has PostgreSQL support? Mark Christenson <mark.christenson@alumni.stanford.org>
@ 2000-12-09 20:10 ` nathan@0x00.org
2000-12-09 20:55 ` Re: How to verify PHP has PostgreSQL support? Mark Christenson <mark.christenson@alumni.stanford.org>
2000-12-10 03:16 ` Re: How to verify PHP has PostgreSQL support? Doug Semig <dougslist@semig.com>
1 sibling, 2 replies; 5+ messages in thread
From: nathan@0x00.org @ 2000-12-09 20:10 UTC (permalink / raw)
To: Mark Christenson <mark.christenson@alumni.stanford.org>; +Cc: pgsql-php
Create a page with this in it:
<?
phpinfo();
?>
On Sat, 9 Dec 2000, Mark Christenson wrote:
> I ran configure and used the --with-pgsql option. Things seemed to
> build okay. However, when I run a web page with a pg_Connect
> statement, I get a parse error, which leads me to believe PHP doesn't
> have the correct flags set.
>
> I realize this may be more of a PHP question, but I'm hoping somebody
> here can help ;-)
>
> Mark
>
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: How to verify PHP has PostgreSQL support?
2000-12-09 20:00 How to verify PHP has PostgreSQL support? Mark Christenson <mark.christenson@alumni.stanford.org>
2000-12-09 20:10 ` Re: How to verify PHP has PostgreSQL support? nathan@0x00.org
@ 2000-12-09 20:55 ` Mark Christenson <mark.christenson@alumni.stanford.org>
1 sibling, 0 replies; 5+ messages in thread
From: Mark Christenson @ 2000-12-09 20:55 UTC (permalink / raw)
To: nathan@0x00.org; +Cc: pgsql-php
I did that - there's nothing about pgsql or postgresql. So I take it
that I don't have the support? :-)
I'll try to recompile and reinstall php4.
Thanks,
Mark
At 3:10 PM -0500 12/9/00, <nathan@0x00.org> wrote:
>Create a page with this in it:
>
><?
> phpinfo();
>?>
>
>
>On Sat, 9 Dec 2000, Mark Christenson wrote:
>
> > I ran configure and used the --with-pgsql option. Things seemed to
> > build okay. However, when I run a web page with a pg_Connect
> > statement, I get a parse error, which leads me to believe PHP doesn't
> > have the correct flags set.
> >
> > I realize this may be more of a PHP question, but I'm hoping somebody
> > here can help ;-)
> >
> > Mark
> >
> >
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: How to verify PHP has PostgreSQL support?
2000-12-09 20:00 How to verify PHP has PostgreSQL support? Mark Christenson <mark.christenson@alumni.stanford.org>
2000-12-09 20:10 ` Re: How to verify PHP has PostgreSQL support? nathan@0x00.org
@ 2000-12-10 03:16 ` Doug Semig <dougslist@semig.com>
1 sibling, 0 replies; 5+ messages in thread
From: Doug Semig @ 2000-12-10 03:16 UTC (permalink / raw)
To: pgsql-php
You've got more going on than just not having support compiled in to PHP.
It seems to me that a parse error is different than an undefined function
error.
Doug
At 12:55 PM 12/9/00 -0800, Mark Christenson wrote:
>I did that - there's nothing about pgsql or postgresql. So I take it
>that I don't have the support? :-)
>
>I'll try to recompile and reinstall php4.
>
>Thanks,
>
>Mark
>
>
>At 3:10 PM -0500 12/9/00, <nathan@0x00.org> wrote:
>>Create a page with this in it:
>>
>><?
>> phpinfo();
>>?>
>>
>>
>>On Sat, 9 Dec 2000, Mark Christenson wrote:
>>
>> > I ran configure and used the --with-pgsql option. Things seemed to
>> > build okay. However, when I run a web page with a pg_Connect
>> > statement, I get a parse error, which leads me to believe PHP doesn't
>> > have the correct flags set.
>> >
>> > I realize this may be more of a PHP question, but I'm hoping somebody
>> > here can help ;-)
>> >
>> > Mark
>> >
>> >
>
>
>
^ permalink raw reply [nested|flat] 5+ messages in thread
* Re: How to verify PHP has PostgreSQL support?
2000-12-09 20:00 How to verify PHP has PostgreSQL support? Mark Christenson <mark.christenson@alumni.stanford.org>
@ 2000-12-11 13:57 ` Adam Lang <aalang@rutgersinsurance.com>
1 sibling, 0 replies; 5+ messages in thread
From: Adam Lang @ 2000-12-11 13:57 UTC (permalink / raw)
To: pgsql-php; Mark Christenson <mark.christenson@alumni.stanford.org>
As someone else said. If it was an error because it doesn't have pgsql
support, you would get an undefined function error, not a parse error.
Adam Lang
Systems Engineer
Rutgers Casualty Insurance Company
http://www.rutgersinsurance.com
----- Original Message -----
From: "Mark Christenson" <mark.christenson@alumni.stanford.org>
To: <pgsql-php@postgresql.org>
Sent: Saturday, December 09, 2000 3:00 PM
Subject: [PHP] How to verify PHP has PostgreSQL support?
> I ran configure and used the --with-pgsql option. Things seemed to
> build okay. However, when I run a web page with a pg_Connect
> statement, I get a parse error, which leads me to believe PHP doesn't
> have the correct flags set.
>
> I realize this may be more of a PHP question, but I'm hoping somebody
> here can help ;-)
>
> Mark
^ permalink raw reply [nested|flat] 5+ messages in thread
end of thread, other threads:[~2000-12-11 13:57 UTC | newest]
Thread overview: 5+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2000-12-09 20:00 How to verify PHP has PostgreSQL support? Mark Christenson <mark.christenson@alumni.stanford.org>
2000-12-09 20:10 ` nathan@0x00.org
2000-12-09 20:55 ` Mark Christenson <mark.christenson@alumni.stanford.org>
2000-12-10 03:16 ` Doug Semig <dougslist@semig.com>
2000-12-11 13:57 ` Adam Lang <aalang@rutgersinsurance.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox