Обсуждение: phpPgAdmin problem - this list?

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

phpPgAdmin problem - this list?

От
Chris Green
Дата:
I'm not sure if this is really on topic for this list but I'll start
here.

I'm trying to run phpPgAdmin, I've installed version 3.5, I have
postgresql version 7.4.3 running on slackware 9.1.

I already have phpMyAdmin running successfully.

When I try and run phpPgAdmin I get:-

    "Your PHP installation does not support PostgreSQL. You need to
    recompile PHP using the --with-pgsql configure option."

However the /usr/lib/php/extensions directory *has* got the pgsql.so
library file, so can anyone suggest what might be wrong?  Or
alternatively point me to somewhere better to ask?

--
Chris Green (chris@areti.co.uk)

    "Never ascribe to malice, that which can be explained by incompetence."

Re: phpPgAdmin problem - this list?

От
Matt
Дата:
> However the /usr/lib/php/extensions directory *has* got the pgsql.so
> library file, so can anyone suggest what might be wrong?  Or
> alternatively point me to somewhere better to ask?

Try one of the php lists. But check that the extension is enabled in the
php.ini first (uncomment the extension=pgsql.so line).

Matt



Re: phpPgAdmin problem - this list?

От
Chris Green
Дата:
On Fri, Nov 19, 2004 at 07:23:08PM +0000, Matt wrote:
> > However the /usr/lib/php/extensions directory *has* got the pgsql.so
> > library file, so can anyone suggest what might be wrong?  Or
> > alternatively point me to somewhere better to ask?
>
> Try one of the php lists. But check that the extension is enabled in the
> php.ini first (uncomment the extension=pgsql.so line).
>
Excellent, that was it, thanks very much, it's saved me some time
hunting elsewhere.  Strangely phpMyAdmin doesn't need the mysql.so
extension enabled but phpPgAdmin does.

--
Chris Green (chris@areti.co.uk)

    "Never ascribe to malice, that which can be explained by incompetence."

Re: phpPgAdmin problem - this list?

От
"Joshua D. Drake"
Дата:
Chris Green wrote:

>On Fri, Nov 19, 2004 at 07:23:08PM +0000, Matt wrote:
>
>
>>>However the /usr/lib/php/extensions directory *has* got the pgsql.so
>>>library file, so can anyone suggest what might be wrong?  Or
>>>alternatively point me to somewhere better to ask?
>>>
>>>
>>Try one of the php lists. But check that the extension is enabled in the
>>php.ini first (uncomment the extension=pgsql.so line).
>>
>>
>>
>Excellent, that was it, thanks very much, it's saved me some time
>hunting elsewhere.  Strangely phpMyAdmin doesn't need the mysql.so
>extension enabled but phpPgAdmin does.
>
>
That is because PHP compiles in mysql by default :).

Sincerely,

Joshua D. Drake





--
Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
Postgresql support, programming shared hosting and dedicated hosting.
+1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
PostgreSQL Replicator -- production quality replication for PostgreSQL


Вложения