Hi I have this error while I'm trying to launch phpPgAdmin:
Your PHP installation does not support PostgreSQL. You need to recompile PHP using the --with-pgsql configure option.
I'm using XAMPP ver 1.7.7, Postgresql 9.2.4 64 bit, and phpPgAdmin 5.1.
I already did the following:
- Open
config.inc.php
found inC:\xampp\phpPgAdmin\conf\
and setextra_login_security
tofalse
$conf['extra_login_security'] = false;
- Find
php.ini
file inC:\xampp\php\
, then look for the line; extension = php_pgsql.dll
. Remove tag;
, so that the result wasextension = php_pgsql.dll
.
(although I found php.ini- production and development so I uncomment them both)
- Open
C:\xampp\apache\conf\extra\httpd-xampp.conf
and in section<IfModule mime_module>
add
Alias /phppgadmin "c:/xampp/phpPgAdmin/"
<Directory "c:/xampp/phpPgAdmin">
AllowOverride AuthConfig
Order allow,deny
Allow from all
</Directory>
- LoadFile “C:/xammp/php/libpq.dll”
but I still get this error. Can someone help me?