1. Make sure you have XAMPP, PostgreSQL, and phppgadmin XAMPP has been installed as well.
2. Pgsql install it on XAMPP folder, for example C://xampp/pgsql
3. Extract and copy to your phpPgAdmin file C://xampp/ , So later in the directory C :/ / XAMPP folder is increased 2-pgsql and phpPgAdmin
4. Find the file C ://xampp/phpPgAdmin/conf/config.inc.php and edit this section
$conf['extra_login_security'] = true; $conf['servers'][0]['host'] = ” “; be $conf['extra_login_security'] = false; $conf['servers'][0]['host'] = ‘localhost’;
still in the same file, change to change its path so pg_dump
$conf['servers'][0]['pg_dump_path'] = ‘C:/xampp/pgsql/9.0/bin/pg_dump’; $conf['servers'][0]['pg_dumpall_path'] = ‘C:/xampp/pgsql/9.0/bin/pg_dump’;For our purposes is to export or import the database
5. Search for files C://xampp/php/php.ini,then find the line
“;extension=php_pgsql.dll” remove the sign ‘;’ so the results are so “extension=php_pgsql.dll“6. Open file C://xampp/apache/conf/extra/httpd-xampp.conf, do not forget to back up beforehand. Add the below lines of code in the module alias:
Alias /phppgadmin “C:/xampp/phpPgAdmin/” <Directory “C:/xampp/phpPgAdmin”> AllowOverride AuthConfig Order allow,deny Allow from all </Directory>
7. Install phase has been completed, for then we try to address in the browser
http://localhost/phppgadmin
How to Install PostgreSQL on XAMPP
Reviewed by sarindi
on
12:11 AM
Rating:
Hi,
ReplyDeleteI'm having problems. I've did step by step and when I'm trying to reach localhost/phppgadmin says: object not found.
Can you please help me out?
I didn't understood what you mean in this step:
ReplyDeleteExtract and copy to your phpPgAdmin file C://xampp/ , So later in the directory C :/ / XAMPP folder is increased 2-pgsql and phpPgAdmin
I fully missed that step so I dont know if that could be the problem.
I have missed because I didnt understood what you exactly meant by "Extract and copy to your phpPgAdmin file C://xampp/ , So later in the directory C :/ / XAMPP folder is increased 2-pgsql and phpPgAdmin"
Thanks for you help
Thank you for your question,
ReplyDeleteanswer:
You must download phpPgAdmin and extract then moved to Dir C://Xampp
I hope it can help
i have an error with my xampp:
ReplyDeleteAttempting to start Apache app...
18:51:29 [Apache] Status change detected: running
18:51:31 [Apache] Status change detected: stopped
18:51:31 [Apache] Error: Apache shutdown unexpectedly.
18:51:31 [Apache] This may be due to a blocked port, missing dependencies,
18:51:31 [Apache] improper privileges, a crash, or a shutdown by another method.
18:51:31 [Apache] Press the Logs button to view error logs and check
18:51:31 [Apache] the Windows Event Viewer for more clues
18:51:31 [Apache] If you need more help, copy and post this
18:51:31 [Apache] entire log window on the forums
I had follwo all the step but localhost/phppgadmin is not working
ReplyDeleteIt works just you have to add the Require all garanted:
ReplyDeleteAddType text/html .php .phps
Alias /phppgadmin "C:/xampp/phpPgAdmin/"
AllowOverride AuthConfig
Order allow,deny
Require all granted
Allow from all