25
2009
Install Postgresql , phpPgAdmin and pgadmin on Ubuntu 8.04 Hardy Heron
Postgresql , phpPGAdmin and pgadmin 3 can be installed from synaptic.
$ sudo apt-get install postgresql phppgadmin pgadmin3
After installation the postgres password of postgresql can be changed like this :
ALTER USER postgres WITH ENCRYPTED PASSWORD ‘<***password***>‘;
To exit :
\q
Also create a database :
$ sudo -u postgres createdb mydb
Now to access localhost/phppgadmin a link needs to be created which points to /usr/share/phppgadmin :
$ ln -s /usr/share/phppgadmin /var/www/phppgadmin
Now localhost/phppgadmin should open up
Trying to login with user : postgres and password : created above might give the error :
Login disallowed for security reasons.
To fix this edit /usr/share/phppgadmin/conf/config.inc.php
and change :
$conf['extra_login_security'] = true;
to
$conf['extra_login_security'] = false;
and then login again from phppgadmin and it should work fine.
Alternatively pgadmin3 can also be used to work with postgresql.
Start pgadmin and create a new connection using the icon on top left and it should work fine.
References :
1. Ubuntu Help
Popularity: 8% [?]
Subscribe
Recent Posts
- Login into phpmyadmin without username and password
- 10+ tips to localise your php application
- 40+ Techniques to enhance your php code – Part 3
- 40+ Techniques to enhance your php code – Part 2
- 40+ Techniques to enhance your php code – Part 1
- CSSDeck – Collection of Pure CSS Creations
- Execute shell commands in PHP
- Php get list of locales installed on system
- Sound cracking in Ubuntu 11.10
- PHP script to perform IP whois
An article by





Forbidden
You don’t have permission to access /phppgadmin on this server.
In following the organization of phpmyadmin to access http://localhost/phppgadmin, you can also do the following:
sudo ln -s /etc/phppgadmin/apache.conf /etc/apache2/conf.d/phppgadmin.conf
sudo /etc/init.d/apache2 restart
Let me know the issue/error.
Doesn’t work.