Segala sesuatu yang merintangi maksud dan tujuan harus disingkirkan - Bung Tomo(Soerabaia-Indonesia id, 10 Nov 1945)

How To add phpPgAdmin in XAMPP on windows xp machine?

| Tuesday, August 3, 2010

XAMPP is an simplify tool to install Apache distribution containing MySQL, PHP and Perl.

XAMPP is really very easy to install and to use - just download, extract and start. but how abaout phpPgAdmin(postgresql)?? it just need little bit setting, okay lets go to 1st step,
First step:
Download XAMPP for windows, so you can download xampp for windows from here
2nd step:
download phpPgAdmin from here and extract to xampp folder, (C:/xampp/)
3rd step:
Go to C:\xampp\phpPgAdmin\conf, copy file before rename or edit the contain, so you have two files ("Copy of config.inc.php-dist" and "config.inc.php-dist"), rename "config.inc.php-dist" to be "config.inc.php", edit file config.inc.php,

replace
$conf['extra_login_security'] = true;
$conf['servers'][0]['host'] = ‘’;
to be
$conf['extra_login_security'] = false;
$conf['servers'][0]['host'] = ‘localhost’;

4th step
Setting php.ini, go to C:\xampp\php\php.ini, search this line,
;extension=php_pgsql.dll
enable it, delete the ;

last step:
edit this file C:\xampp\apache\conf\extra\httpd-xampp.conf, add this in the end of line:
Alias /phppgadmin "C:/xampp/phpPgAdmin/"
Directory "C:/xampp/phpPgAdmin"
AllowOverride AuthConfig
Order allow,deny
Allow from all
/Directory

restart the service and test http://localhost/phppgadmin

0 comments:

Post a Comment