Koozali.org: home of the SME Server

Legacy Forums => General Discussion (Legacy) => Topic started by: Ronald on September 19, 2002, 12:55:52 AM

Title: Postgresql+Apache on SME
Post by: Ronald on September 19, 2002, 12:55:52 AM
Hello all,
I've installed Postgresql successfully on SME and the database ist running.
I also installed mypgAdmin and get the following error-message:

You do not have postgresql support built into your PHP Web Server.
phpPgAdmin requires postgresql support to function properly!
Please check the PHP documentation for corrective action.

How and where do I activate the postgresql-support for the PHP-Webserver?

Thanks
Ron
Title: Re: Postgresql+Apache on SME
Post by: Dan Brown on September 19, 2002, 01:30:15 AM
You need to install an appropriate php-pgsql RPM.
Title: Re: Postgresql+Apache on SME
Post by: Ronald on September 19, 2002, 11:21:20 AM
Thanks Dan,
but I'm really not sure where to have a look.
Is the rpm part of php or is it a part of apache?
Maybe you know a link :-)

Ron
Title: Re: Postgresql+Apache on SME
Post by: Ronald on September 19, 2002, 11:33:48 AM
I've forgot. I'm running sme 5.5

Ron
Title: Re: Postgresql+Apache on SME
Post by: Dan Brown on September 19, 2002, 05:18:32 PM
If you're running 5.5, the php-pgsql RPM is on your CD-ROM.
Title: Re: Postgresql+Apache on SME
Post by: Ronald on September 20, 2002, 11:15:59 AM
Hi Dan,
php-pgsql is installed but still the same error.
PostgreSql-Database itself working fine.

Ron
Title: Re: Postgresql+Apache on SME
Post by: Bart on September 27, 2002, 05:58:58 AM
about postgresql in sme 5.5 with apache

the pg mod might not be enabled in /etc/php.ini
check it, there should be a line stating: extension=pgsql.so

also, make/change the template for /etc/php.ini ,  of this is the problem

HTH, Bart
Title: Re: Postgresql+Apache on SME
Post by: cas on October 05, 2002, 09:18:45 PM
Hi dan,
I did install postgres but when using the rpm, i get the message failed dependancies :
 postgresql is needed by php-pgsql-4.1.2-2es3
        libpq.so.2   is needed by php-pgsql-4.1.2-2es3

can you point me in the right direction ?

Thanks,

Cas