0

I updated my ubuntu from 16.10 to 17.10 yesterday. It has been causing some issues in apps ever since. Also, my PhpMyAdmin has stopped running and displays code instead

I've already read other answers but most of them are asking to install php-mysql and php, both of which are already installed. It was working fine before. My php project using mysql is working fine.

Can anyone help ?

EDIT #1:

I have checked with the question this has been marked a duplicate of. And I said IT WAS WORKING FINE BEFORE THE UPDATE. So I already have the settings required, that's why it was working in the first place.

EDIT #2:

this is the code it shows:

<?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',
    'collation_connection',
    'db',
    'table'
);

.
.
.
function PMA_printListItem($name, $listId = null, $url = null,
    $mysql_help_page = null, $target = null, $a_id = null, $class = null,
    $a_class = null
) {
    echo PMA\libraries\Template::get('list/item')
        ->render(
            array(
                'content' => $name,
                'id' => $listId,
                'class' => $class,
                'url' => array(
                    'href' => $url,
                    'target' => $target,
                    'id' => $a_id,
                    'class' => $a_class,
                ),
                'mysql_help_page' => $mysql_help_page,
            )
        );
}
mrid
  • 5,584
  • 5
  • 24
  • 62

0 Answers0