phpmyadmin is showing some text page
07:56 05 Nov 2016

I have Ubuntu 16.04.1 LTS. I have installed phpmyadmin but when i type in my browser localhost/phpmyadmin it opens a wired page containing text like -

php

/* vim: set expandtab sw=4 ts=4 sts=4: */
/**
 * Main loader script
 *
 * @package PhpMyAdmin
 */
use PMA\libraries\RecentFavoriteTable;

/**
 * Gets some core libraries and displays a top message if required
 */
require_once 'libraries/common.inc.php';

/**
 * display Git revision if requested
 */
require_once 'libraries/display_git_revision.lib.php';

/**
 * pass variables to child pages
 */
$drops = array(
    'lang',
    'server',enter code here
    'collation_connection',..
    'db',
    'table'
);
etc...........

Please let me know what am i doing wrong.

php apache ubuntu phpmyadmin