Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

phpPgAdmin problem

Posted on 2016-08-27
14
Medium Priority
?
471 Views
Last Modified: 2016-08-29
I use the following url to access my phpPgAdmin installed within xampp:

http://localhost:8080/phpPgAdmin/

This was working perfectly on my windows machine until today
The url now gives me :
http://localhost:8080/phpPgAdmin/
The requested URL /phpPgAdmin/ was not found on this server.

Can some one please tell me where the port 8080 is defined for the phpPgAdmin
I cannot find it anywhere
again, the install is using xampp
0
Comment
Question by:doctorbill
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 7
14 Comments
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 2000 total points
ID: 41773173
It is not defined for 'phpPgAdmin', port 8080 is defined for Apache and XAMPP.  If you type in just http://localhost:8080/ , you should still see the XAMPP main page.   'phpPgAdmin' is a PHP program that runs under PHP on Apache and uses the same port as everything else on the server.

The error message is telling you that either the 'phpPgAdmin' directory spelling has changed or perhaps the 'index.php' that is used to dispatch the code is missing or renamed.
0
 

Author Comment

by:doctorbill
ID: 41773174
xampp is runnign as port: 888
0
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 2000 total points
ID: 41773186
Then try http://localhost:888/phpPgAdmin/ .  Apache / XAMPP runs PHP and 'phpPgAdmin' so they should be on the same port.  They are on every installation that I have.  PHP and 'phpPgAdmin' are not able to independently receive requests on a different port.

Apache is running the network service where the port is defined.  It passes requests on to the different programs like 'phpPgAdmin' that are running on the server.
0
Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

 

Author Comment

by:doctorbill
ID: 41773209
Already tried this:
http://localhost:888/phpPgAdmin/index.php

I get:
Object not found!
error 404

If I try the pgAdmin 111 GUI it cannot connect to the server on 5433
0
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 2000 total points
ID: 41773216
Ok, this shouldn't be this difficult.  It never has been here.

Try http://localhost:8080/  and tell what you get.
Try http://localhost:888/  and tell me what you get.
0
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 2000 total points
ID: 41773217
Port 5433 should be the port for PostGreSQL.
0
 

Author Comment

by:doctorbill
ID: 41773225
http://localhost:8080:
This site can’t be reached
localhost refused to connect.
Did you mean http://localhost-8080.com/?
Search Google for localhost 8080
ERR_CONNECTION_REFUSED

http://localhost:888/xampp/:
This gets me to xampp control panel
0
 

Author Comment

by:doctorbill
ID: 41773234
This is working:
http://localhost:888/phpPgAdmin-5.1/

UN: postgres
PW: what should the default pw be
0
 
LVL 84

Accepted Solution

by:
Dave Baldwin earned 2000 total points
ID: 41773484
In my install, there wasn't a default password.  This page tells about it: https://www.postgresql.org/message-id/4D958A35.8030501@hogranch.com  Since you are on Windows, you don't need to use the 'sudo' command to become an 'administrator' though you may need to be using an Administrator account.
0
 

Author Comment

by:doctorbill
ID: 41773895
There looked to be a lot of problems with my installs
I have now reinstalled the database servers and postgre phpPgAdmin (there was nothing important in the previous databases) and all looks good now

One final question:
Have you needed to export a set of mysql database tables using phpMyAdmin on windows and import them into postgres using the phpPgAdmin software
I get errors when doing this
I was wondering if you know of a good converter to use
0
 
LVL 84

Assisted Solution

by:Dave Baldwin
Dave Baldwin earned 2000 total points
ID: 41773960
I did that once a couple of years ago when I first set up my test box.  I do remember struggling with it but not the details of fixing it.  I think I found out I did it wrong once I got it working.
0
 

Author Closing Comment

by:doctorbill
ID: 41773981
Solved
0
 
LVL 84

Expert Comment

by:Dave Baldwin
ID: 41774115
Good to hear, glad to help.
0
 

Author Comment

by:doctorbill
ID: 41774398
Always a pleasure working with you
1

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

722 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question