Koozali.org: home of the SME Server

Postgresql+Apache on SME

Ronald

Postgresql+Apache on SME
« 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

Dan Brown

Re: Postgresql+Apache on SME
« Reply #1 on: September 19, 2002, 01:30:15 AM »
You need to install an appropriate php-pgsql RPM.

Ronald

Re: Postgresql+Apache on SME
« Reply #2 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

Ronald

Re: Postgresql+Apache on SME
« Reply #3 on: September 19, 2002, 11:33:48 AM »
I've forgot. I'm running sme 5.5

Ron

Dan Brown

Re: Postgresql+Apache on SME
« Reply #4 on: September 19, 2002, 05:18:32 PM »
If you're running 5.5, the php-pgsql RPM is on your CD-ROM.

Ronald

Re: Postgresql+Apache on SME
« Reply #5 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

Bart

Re: Postgresql+Apache on SME
« Reply #6 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

cas

Re: Postgresql+Apache on SME
« Reply #7 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