473,406 Members | 2,956 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

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 5828
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/
<DirectoryMatch /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/
<DirectoryMatch /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*******@attglobal.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/
<DirectoryMatch /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/
<DirectoryMatch /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*******@attglobal.net
==================
Nov 1 '05 #8

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

Similar topics

92
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?...
125
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...
121
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...
1
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...
3
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...
1
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...
2
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...
2
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...
16
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...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
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,...

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.