Apache and phpMyAdmin

I am just configuring my PC for learning php.
If I install phpMyAdmin from rpm,it works however if i download it manually and put in /home/user/public_html/phpMyAdmin
and then browse,I just see a blank page.
What is the reason?

In OpenSuse the Apache directory usually is /srv/www/htdocs/phpMyAdmin/

The reason is your Apache config file isn’t configured to display files from the public_html folder.

On the contrary, it is configured to display web pages from this folder by default. Except for phpMyAdmin that is usually in the folder pointed by Vivianno_Guastalla.

That’s news to me. Different defaults for different methods of installation?

I installed from a tarball in /usr/local and my config file was configured to display everything from htdocs, until I edited it.

joomla works fine from that folder.

Open a terminal;
su -
tail -f /var/log/apache2/error_log

Keep the terminal open and try to access the phpmyadmin URI, see what errors are printed out on the error_log.

Here are related errors.

[Thu Apr 21 11:07:12 2011] [error] [client] PHP Warning:  require_once(./libraries/Message.class.php): failed to open stream: No such file or directory in /home/user/public_html/phpMyAdmin/libraries/Error.class.php on line 13
[Thu Apr 21 11:07:12 2011] [error] [client] PHP Fatal error:  require_once(): Failed opening required './libraries/Message.class.php' (include_path='.:/usr/share/php5:/usr/share/php5/PEAR') in /home/user/public_html/phpMyAdmin/libraries/Error.class.php on line 13