4

Apache: v.2.2.14
PHP: 5.3.1
PostgreSQL: 8.4
XAMPP: version 1.7.3

2
  • 3
    Looks like you should ask this on serverfault.com . Commented Sep 2, 2010 at 12:57
  • oh I'm sorry. I didn't realize that. Commented Sep 2, 2010 at 13:35

2 Answers 2

11

XAMPP ships with a php_pgsql.dll/so, i.e. all you have to do is to edit the php.ini and remove the semicolon before

extension = php_pgsql.dll

and then restart the apache.

Sign up to request clarification or add additional context in comments.

1 Comment

Googlers, this is also the answer to the —deeply misleading— phpPgAdmin error message: your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.
0

Yes you can, check https://www.php.net/manual/en/book.pgsql.php

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.