Question

Unable to set up phppgadmin on server

Posted February 11, 2015 4.1k views

I’ve been following the tutorial on:
https://www.digitalocean.com/community/tutorials/how-to-install-and-use-phppgadmin-on-ubuntu-12-04

I’m really new to Linux and I’ve had a few people try and help me out, but still haven’t solved my problem.

I’ve already installed php, postgresql, and apache utilities. However when I attempt to use:
sudo htpasswd -c /etc/phpPgAdmin/.htpasswd username

I get htpasswd: cannot create file /etc/phpPgAdmin/.htpasswd

I’ve been working like crazy to try and get this set up. I’m trying to use postgreSQL for a class project and I want to use phpPgadmin to make the whole process of adding and modifying tables much easier than console commands. I’d really appreciate any help! Thanks in advance!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
2 answers

Hi!

May be you will be better off installing pgAdmin on your local machine and accessing your server remotely? I faced similar problem recently and made a tutorial (having postgresql installed, you will have to follow it from step 4 of Postgres part)

Sorry for not answering your main question.

Does the directory /etc/phpPgAdmin/ already exist? You’ll receive that error if it doesn’t. Try creating it first:

mkdir /etc/phpPgAdmin/

Remember, on Linux directories and filenames are case sensitive.

Submit an Answer