Page 1 of 1

Adding Postgres to PHP installed with XAMPP

Posted: Thu Oct 19, 2006 8:13 pm
by bazianm
Hi,

I hope this is in the proper forum...

I am kind of new to PHP and I use windows. I found and have used XAMPP quite succesfully in the past.

I have to review a few applications that require PostGres and they won't work (even though I downloaded and installed PostGres). I discovered that the PHP installed under XAMPP does not support PostGRES and it told me to recompile PHP with the --With Postgres option.

I would like to keep XAMPP because it is so easy but I cannot find any way to get PHP to support PostGres.

Does anyone have any suggestions?

Thank you all in advance for any possible assistance you can offer...

Posted: Fri Oct 20, 2006 4:35 am
by CoderGoblin
All you have to do is uncomment the Postgres dll in the php.ini file. I seem to remember the name of the dll is fairly obvious.
If this doesn't work, you may need to also check your environment path settings.

Posted: Fri Oct 20, 2006 7:24 am
by bazianm
That did it. Thanks!