i also had the problem of not being able to access phpmyadmin after i had installed it with
Code:
apt-get install phpmyadmin
(im using ubuntu 10.04.1 lts)
i found that the problem for me was that phpmyadmin had not created the necessary file 'phpmyadmin.conf' under /etc/apache2/conf.d. for me i had the advantage of being able to copy the file accross from another ubuntu system, however if you do not have this as an option the contents of this file are:
Code:
# phpMyAdmin default Apache configuration
Alias /phpmyadmin /usr/share/phpmyadmin
<Directory /usr/share/phpmyadmin>
Options FollowSymLinks
DirectoryIndex index.php
<IfModule mod_php5.c>
AddType application/x-httpd-php .php
php_flag magic_quotes_gpc Off
php_flag track_vars On
php_flag register_globals Off
php_value include_path .
</IfModule>
</Directory>
# Authorize for setup
<Directory /usr/share/phpmyadmin/setup>
<IfModule mod_authn_file.c>
AuthType Basic
AuthName "phpMyAdmin Setup"
AuthUserFile /etc/phpmyadmin/htpasswd.setup
</IfModule>
Require valid-user
</Directory>
# Disallow web access to directories that don't need it
<Directory /usr/share/phpmyadmin/libraries>
Order Deny,Allow
Deny from All
</Directory>
<Directory /usr/share/phpmyadmin/setup/lib>
Order Deny,Allow
Deny from All
</Directory>
i actually did
Code:
locate phpmyadmin | grep conf
just incase the file did infact exist with a different name - but no such luck.
Bookmarks