How to verify PHP has PostgreSQL support?

Поиск
Список
Период
Сортировка
Искать

How to verify PHP has PostgreSQL support?

От:
Mark Christenson <mark.christenson@alumni.stanford.org>
Дата:
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

Re: How to verify PHP has PostgreSQL support?

От:
<nathan@0x00.org>
Дата:

Create a page with this in it:




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
> 
> 

Re: How to verify PHP has PostgreSQL support?

От:
Mark Christenson <mark.christenson@alumni.stanford.org>
Дата:
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,  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
> >
> >

Re: How to verify PHP has PostgreSQL support?

От:
Doug Semig <dougslist@semig.com>
Дата:
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,  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
>> >
>> >
>
>
>

Re: How to verify PHP has PostgreSQL support?

От:
"Adam Lang" <aalang@rutgersinsurance.com>
Дата:
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" 
To: 
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

FAQ