Unix Technical Forum

browsing http://localhost/phpmyadmin -- only contents of directory visible

This is a discussion on browsing http://localhost/phpmyadmin -- only contents of directory visible within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> I have troubles configuring phpMyAdmin-2.5.7-pl1 on Slackware 10. So far I have: * an up and running web-server (Apache) ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 02:08 PM
istoyanov
 
Posts: n/a
Default browsing http://localhost/phpmyadmin -- only contents of directory visible

I have troubles configuring phpMyAdmin-2.5.7-pl1 on Slackware 10.

So far I have:

* an up and running web-server (Apache)

* initialized mysql via mysql_install_db

According to various phpMyAdmin guides and documentations, when I
point my browser to http://localhost/phpmyadmin/ the MySQL management
controls should appear, but in my case I can see only the file-list of
my phpmyadmin directory. I have to click on index.php for everything
to appear as expected.

Since that's my first-time experience with both MySQL and phpMyAdmin I
wonder if the mentioned behaviour is normal or not.

Any hints would be greatly appreciated!

Cheers!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 02:08 PM
Blumf
 
Posts: n/a
Default Re: browsing http://localhost/phpmyadmin -- only contents of directory visible

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

istoyanov wrote:

> According to various phpMyAdmin guides and documentations, when I
> point my browser to http://localhost/phpmyadmin/ the MySQL management
> controls should appear, but in my case I can see only the file-list of
> my phpmyadmin directory. I have to click on index.php for everything
> to appear as expected.


Sounds like you haven't enabled php in apache (mod_php) and/or set up
DirectoryIndex to recognise default php files in directories.

I can't tell you much more than that as I don't fiddle with apache much
myself (just setup a WinXP box to run httpd2 and php the other week), but
try the php website for more info.

http://www.php.net/

Blumf

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFBCgkpMid3IcxolsoRAuyiAJ9yPE7D2GK63CpkIngbe1/6SdnMzgCfcxf9
c5etH/0pjBgeqbexGzD8T1Q=
=641c
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 02:09 PM
istoyanov
 
Posts: n/a
Default Re: browsing http://localhost/phpmyadmin -- only contents of directory visible

> Sounds like you haven't enabled php in apache (mod_php) and/or set up
> DirectoryIndex to recognise default php files in directories.


I _have_ enabled mod_php (i.e. uncommented the line in httpd.conf
stating ``Include /etc/apache/mod_php.conf'') -- this was an earlier
issue when I was seeing only the php code in my browser on opening
phpinfo.php.

Yes! The DirectoryIndex was the answer! I added ``index.php'' after
``index.html'' and now it works as expected!

Many Thanks!!!

.... and cheers!!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:11 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com