PDA

View Full Version : Followed how-to for Fedora Core 4, now need to add to PHP


syst5253
30th March 2006, 14:38
I followed the Fedora Core 4 HowTo, and now I need to have postgresql running.

I have installed everything, but I get this error:

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

Where do I run this from?

Thanks

falko
30th March 2006, 16:19
Which PHP shows this error? Your main one, or ISPConfig's PHP (if ISPConfig is installed)?

syst5253
30th March 2006, 17:35
My main one, I have some systems that require postgresql, and when I try to run phppgadmin, I get the error. I have not yet installed ISPConfig

till
30th March 2006, 22:31
Did you install the php postgresql package? I dont think it is installed in the howto.

syst5253
31st March 2006, 08:32
I installed it afterwards, postgresql, postgresql-server and php-pgsql

It is running, but it needs to be configured in php

till
31st March 2006, 09:16
Please have a look at your php.ini file if the postgresql .so extension is enabled.

syst5253
31st March 2006, 11:38
D'oh!! Thanks!!