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) ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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! |
| |||
| -----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----- |
| ||||
| > 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!!! |