Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just installed postgresql, php5 and in particular PhpPgAdmin using Ubuntu's synaptic app. The PHP is running fine, the http server (lighttpd) is working fine, and I can do pg a the command line. The only thing that remains a mystery is PhpPgAdmin - just how does one fire it up to use it? I am clueless about the proper means of starting PhpPgAdmin; it isn't explained anywhere on the site for it. I tried typing phppgadmin at a bash command prompt, and entering "http://phppgsdmin/" and "http://localhost/phppgadmin" as wild guesses in the address bar in a browser - nothing happens. What is the secret?

BTW, i'm only serving http on localhost, doing purely private web development.

share|improve this question

migrated from Apr 17 '11 at 2:27

This question came from our site for computer enthusiasts and power users.

Have you set up phppgadmin in the lighty config?

alias.url = ("/pgadmin" => "/usr/share/phpPgAdmin")

You also have to enable mod_alias in Lighty (and restart it) and then "http://localhost/pgadmin" should work ...

share|improve this answer

Did you make Apache aware of PhpPgAdmin? You need to include the following line in /etc/apache2/apache2.conf:

Include /etc/phppgadmin/apache.conf

You may also need to restart Apache for it to spring up:

sudo service apache2 reload

You should then be able to access PhpPgAdmin from the following address:


share|improve this answer
I'm not using apache. Does it have to run even if i'm already using lightppd? – DarenW Apr 17 '11 at 2:35
Sorry, my bad, I missed you weren't using Apache. I'll post another answer if I figure it out for lighttpd. – 8088 Apr 17 '11 at 3:08
If there's a way to run two http servers at the same time, maybe that'll be easiest just to get the darn thing up for use. – DarenW Apr 17 '11 at 3:59
Of course there is, you can install Apache listening on another port. – zaub3r3r Jun 15 '12 at 19:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.