Page 1 of 1

PHP & PostgreSQL

PostPosted: 07. October 2005 02:44
by cemplukcute2003
I've installed PostgreSQL 8.0.
I've updated php.ini & unmark : extension=php_pgsql.dll
I've restarted the apache.
But i still got an error message :
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.
When i checked using phpinfo(), the postgresql module still not loaded.
Can someone show me how to recompile PHP in Xampp? So i can use the PostgreSQL work along with Xampp?

PostPosted: 07. October 2005 04:08
by Wiedmann
I've updated php.ini

Which "php.ini"?

PostPosted: 07. October 2005 04:33
by cemplukcute2003
..\xampp\apache\bin\php.ini
Am i make a mistake?

PostPosted: 12. October 2005 03:32
by cemplukcute2003
Is there anybody can help me, pls?
Cause i still can't find any solutions for this problem.
I really need help...

PostPosted: 13. October 2005 04:13
by cemplukcute2003
I'm using windows XP SP2.
I've changed to php 4 using php_switch.
That means the directory that used for loadable extensions is :
extension_dir = c:\Program Files\apachefriends\xampp\php\extensions\
Is the directory correct?

But something strange happens.
It seems that the php.ini can't find any dll files.
I've tried uncomment the :
Code: Select all
extension=php_pdf.dll
extension=php_pgsql.dll
extension=php_imap.dll

But all of those modules didn't appear in the phpinfo(), although i've restarted the apache.

Can someone help me,pls?