473,661 Members | 2,448 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

What to do to get phppgadmin working?

7
I installed postgres and phppgadmin debian unstable
(on ProMepis RC4) but I can't seem to access it.

I type http://localhost/phppgadmin
and it says file not found.
Look in /var/www and sure enough, its not there and neither
are any files relating to the phppgadmin.

How do I get this thing to work?

The package has been installed, though not
sure where its all gone into and what URL I should
type in get access to it.

Thanks
Oct 30 '05 #1
7 5843
By default, Apache requires you to add the trailing slash at the end of
a URL if you want to access a directory. For instance

http://localhost/phppgadmin/

instead of

http://localhost/phppgadmin

Oct 30 '05 #2
7
Tezza wrote:
By default, Apache requires you to add the trailing slash at the end of
a URL if you want to access a directory. For instance

http://localhost/phppgadmin/

instead of

http://localhost/phppgadmin

did not work unfortunately, the /var/www/ directory
does not contain anything related to phppgadmin
(after installation) for anything like that to work.
(The php4 is working as I can run test scripts.)
Oct 31 '05 #3
On Mon, 31 Oct 2005 05:49:27 +0000, 7 wrote:
Tezza wrote:
By default, Apache requires you to add the trailing slash at the end of
a URL if you want to access a directory. For instance

http://localhost/phppgadmin/

instead of

http://localhost/phppgadmin

did not work unfortunately, the /var/www/ directory
does not contain anything related to phppgadmin
(after installation) for anything like that to work.
(The php4 is working as I can run test scripts.)


the folder needs to be in /var/www/htdocs/
As a workaround
ln -s /var/www/phppgadmin /var/www/htdocs/phppgadmin

however, read the docs, there might be a reason for the way they have
installed
also, you could edit httpd.conf

HTH

--
Hardware, n.: The parts of a computer system that can be kicked

The best way to get the right answer on usenet is to post the wrong one.

Oct 31 '05 #4
7
Shane wrote:
On Mon, 31 Oct 2005 05:49:27 +0000, 7 wrote:
Tezza wrote:
By default, Apache requires you to add the trailing slash at the end of
a URL if you want to access a directory. For instance

http://localhost/phppgadmin/

instead of

http://localhost/phppgadmin

did not work unfortunately, the /var/www/ directory
does not contain anything related to phppgadmin
(after installation) for anything like that to work.
(The php4 is working as I can run test scripts.)


the folder needs to be in /var/www/htdocs/
As a workaround
ln -s /var/www/phppgadmin /var/www/htdocs/phppgadmin

however, read the docs, there might be a reason for the way they have
installed
also, you could edit httpd.conf

HTH

It gets curios by the minute - I didn't try above, but I did
find the /etc/apache2/conf.d/phpgadmin link
to file /etc/phppgadmin/apache.conf and it says in there

Alias /phppgadmin /usr/share/phppgadmin/
<DirectoryMat ch /usr/share/phppgamin/>

Which I assume means that
http://localhost/phppgadmin/
should map to the /usr/share/phppgadmin/ directory
and the default index.php file installed there should run.

But no such luck!
http://localhost/phppgadmin/index.php does not work either.

Oct 31 '05 #5
7 wrote:
Shane wrote:

On Mon, 31 Oct 2005 05:49:27 +0000, 7 wrote:

Tezza wrote:
By default, Apache requires you to add the trailing slash at the end of
a URL if you want to access a directory. For instance

http://localhost/phppgadmin/

instead of

http://localhost/phppgadmin
did not work unfortunately, the /var/www/ directory
does not contain anything related to phppgadmin
(after installation) for anything like that to work.
(The php4 is working as I can run test scripts.)


the folder needs to be in /var/www/htdocs/
As a workaround
ln -s /var/www/phppgadmin /var/www/htdocs/phppgadmin

however, read the docs, there might be a reason for the way they have
installed
also, you could edit httpd.conf

HTH


It gets curios by the minute - I didn't try above, but I did
find the /etc/apache2/conf.d/phpgadmin link
to file /etc/phppgadmin/apache.conf and it says in there

Alias /phppgadmin /usr/share/phppgadmin/
<DirectoryMat ch /usr/share/phppgamin/>

Which I assume means that
http://localhost/phppgadmin/
should map to the /usr/share/phppgadmin/ directory
and the default index.php file installed there should run.

But no such luck!
http://localhost/phppgadmin/index.php does not work either.


Try

Alias /phppgadmin/ /usr/share/phppgadmin/

Match your trailing slashes!
--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Oct 31 '05 #6
7
Jerry Stuckle wrote:
7 wrote:
Shane wrote:

On Mon, 31 Oct 2005 05:49:27 +0000, 7 wrote:
Tezza wrote:
>By default, Apache requires you to add the trailing slash at the end of
>a URL if you want to access a directory. For instance
>
>http://localhost/phppgadmin/
>
>instead of
>
>http://localhost/phppgadmin
did not work unfortunately, the /var/www/ directory
does not contain anything related to phppgadmin
(after installation) for anything like that to work.
(The php4 is working as I can run test scripts.)

the folder needs to be in /var/www/htdocs/
As a workaround
ln -s /var/www/phppgadmin /var/www/htdocs/phppgadmin

however, read the docs, there might be a reason for the way they have
installed
also, you could edit httpd.conf

HTH


It gets curios by the minute - I didn't try above, but I did
find the /etc/apache2/conf.d/phpgadmin link
to file /etc/phppgadmin/apache.conf and it says in there

Alias /phppgadmin /usr/share/phppgadmin/
<DirectoryMat ch /usr/share/phppgamin/>

Which I assume means that
http://localhost/phppgadmin/
should map to the /usr/share/phppgadmin/ directory
and the default index.php file installed there should run.

But no such luck!
http://localhost/phppgadmin/index.php does not work either.


Try

Alias /phppgadmin/ /usr/share/phppgadmin/

Match your trailing slashes!

No luck still.
Tried many different combinations, including putting the
commands into apach2.conf and restarting apache
every time - still nothing.
Oct 31 '05 #7
7 wrote:
Jerry Stuckle wrote:

7 wrote:
Shane wrote:

On Mon, 31 Oct 2005 05:49:27 +0000, 7 wrote:

>Tezza wrote:
>
>
>
>>By default, Apache requires you to add the trailing slash at the end of
>>a URL if you want to access a directory. For instance
>>
>>http://localhost/phppgadmin/
>>
>>instead of
>>
>>http://localhost/phppgadmin
>
>
>did not work unfortunately, the /var/www/ directory
>does not contain anything related to phppgadmin
>(after installation) for anything like that to work.
>(The php4 is working as I can run test scripts.)

the folder needs to be in /var/www/htdocs/
As a workaround
ln -s /var/www/phppgadmin /var/www/htdocs/phppgadmin

however, read the docs, there might be a reason for the way they have
installed
also, you could edit httpd.conf

HTH

It gets curios by the minute - I didn't try above, but I did
find the /etc/apache2/conf.d/phpgadmin link
to file /etc/phppgadmin/apache.conf and it says in there

Alias /phppgadmin /usr/share/phppgadmin/
<DirectoryMa tch /usr/share/phppgamin/>

Which I assume means that
http://localhost/phppgadmin/
should map to the /usr/share/phppgadmin/ directory
and the default index.php file installed there should run.

But no such luck!
http://localhost/phppgadmin/index.php does not work either.


Try

Alias /phppgadmin/ /usr/share/phppgadmin/

Match your trailing slashes!


No luck still.
Tried many different combinations, including putting the
commands into apach2.conf and restarting apache
every time - still nothing.


It should work.

At this point I suggest you ask in the Apache mailing lists. It doesn't
look to be a PHP question - rather it looks like Apache configuration.

--
=============== ===
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attgl obal.net
=============== ===
Nov 1 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

92
6445
by: Reed L. O'Brien | last post by:
I see rotor was removed for 2.4 and the docs say use an AES module provided separately... Is there a standard module that works alike or an AES module that works alike but with better encryption? cheers, reed
125
14705
by: Sarah Tanembaum | last post by:
Beside its an opensource and supported by community, what's the fundamental differences between PostgreSQL and those high-price commercial database (and some are bloated such as Oracle) from software giant such as Microsoft SQL Server, Oracle, and Sybase? Is PostgreSQL reliable enough to be used for high-end commercial application? Thanks
121
10025
by: typingcat | last post by:
First of all, I'm an Asian and I need to input Japanese, Korean and so on. I've tried many PHP IDEs today, but almost non of them supported Unicode (UTF-8) file. I've found that the only Unicode support IDEs are DreamWeaver 8 and Zend PHP Studio. DreamWeaver provides full support for Unicode. However, DreamWeaver is a web editor rather than a PHP IDE. It only supports basic IntelliSense (or code completion) and doesn't have anything...
1
1480
by: Sean | last post by:
Hi all, I have two databases set up, one for development and one for production. They are almost identical. I noticed that a query was taking about 6.7 seconds to execute on the development database, but only .08 seconds on the production database. The only difference was there was another key for the production server (I am guessing it was an index). So I clicked on the "Index" link in PhpPGAdmin for the id of the table on the...
3
4374
by: CSN | last post by:
In phppgadmin, primary keys are added/shown under "constraints". Does creating a primary key automatically create an index? No indexes are listed under phppgadmin's indexes page, but "\d table" in psql shows indexes for primary keys. __________________________________ Do you Yahoo!? New Yahoo! Photos - easier uploading and sharing. http://photos.yahoo.com/
1
2630
by: Daniel Secomb | last post by:
Hi, I'm using PostgreSQL 7.3.4 with phpPgAdmin 2.4.2 and the ".sql" file I'm trying to import came from a dump from a server running PostgreSQL 7.0.3. I just got this error message trying to import the PostgreSQL database file into phpPgAdmin. The error message was as follows: Error - /usr/local/psa/admin/htdocs/domains/databases/phpPgAdmin/db_readdump.php --
2
2154
by: Eric | last post by:
Hi, My webserver work in PHP4, safemode and it's running for years. I use Debian, kernel 2.6 since yesterday. I install psotgreSQL and PHPPGADMIN from apt-get (in .deb package) like always on Debian... I configure pg_hba.conf with
2
1609
by: John Oliver | last post by:
I have a Fedora Core 2 box with MySQL and phpMyAdmin running just fine. I want to add PostGreSQL and phpPgAdmin I installed: php-pgsql-4.3.10-2.4.i386.rpm postgresql-7.4.7-3.FC2.1.i386.rpm postgresql-libs-7.4.7-3.FC2.1.i386.rpm postgresql-server-7.4.7-3.FC2.1.i386.rpm I then added the extension=pgsql.so line to php.ini
16
1904
by: SirG | last post by:
I'm looking for an explanation of why one piece of code works and another does not. I have to warn you that this is the first piece of Javascript I've ever written, so if there is a better way or a simpler answer, by all means show me the light! What I'm trying to do is refresh the page at a timed interval ( actually redirect the page... ) and I have a simple piece of code I got from the net that works, but I need to modify it a little...
0
8428
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8341
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8754
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8630
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7362
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4177
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4343
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1984
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1740
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.