Servidor LAMP com PHP7 no Linux Mint 18 e no Ubuntu 16.04
Como instalar um servidor LAMP, com PHP 7, para desenvolvimento web de forma rápida e fácil, no Linux Mint 18 e no Ubuntu 16.04.
Parte 3: Phpmyadmin
Instalação do phpmyadmin
Esta parte não é obrigatória, por isso chamei de bônus a instalação do phpmyadmin. Mas vamos lá.No terminal, instale primeiro mais uma parte do PHP que será necessária, com o comando:
sudo apt-get install php-gettext
Agora vamos à instalação do phpmyadmin:
sudo apt-get install phpmyadmin
Vamos aos ajustes necessários. Como root, abra o arquivo /etc/apache2/apache2.conf e no seu final, inclua a linha:
Include /etc/phpmyadmin/apache.conf
Salve e depois reinicie o Apache com o comando:
sudo systemctl restart apache2
Agora no navegador de internet, chamamos no endereço:
- http://localhost/phpmyadmin
ou: - http://127.0.0.1/phpmyadmin
O resultado deve ser algo como:

Um abraço e até uma próxima.
Fontes:
Include /etc/phpmyadmin/apache.conf
O apache para de funcionar e não consigo mais trabalhar com ele. Uso Mint 17.1.
Este é o final do arquivo conf:
# Include of directories ignores editors' and dpkg's backup files,
# see README.Debian for details.
# Include generic snippets of statements
IncludeOptional conf-enabled/*.conf
# Include the virtual host configurations:
IncludeOptional sites-enabled/*.conf
#aqui acrescento o comando
Include /etc/phpmyadmin/apache.conf
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
não abre a página, aparece isso:
addJSON( 'options', PMA_RecentTable::getInstance()->getHtmlSelectOption() ); exit; } if ($GLOBALS['PMA_Config']->isGitRevision()) { if (isset($_REQUEST['git_revision']) && $GLOBALS['is_ajax_request'] == true) { PMA_printGitRevision(); exit; } echo '
'; } // Handles some variables that may have been sent by the calling script $GLOBALS['db'] = ''; $GLOBALS['table'] = ''; $show_query = '1'; // Any message to display? if (! empty($message)) { echo PMA_Util::getMessage($message); unset($message); } $common_url_query = PMA_generate_common_url('', ''); // when $server > 0, a server has been chosen so we can display // all MySQL-related information if ($server > 0) { include 'libraries/server_common.inc.php'; include 'libraries/StorageEngine.class.php'; // Use the verbose name of the server instead of the hostname // if a value is set $server_info = ''; if (! empty($cfg['Server']['verbose'])) { $server_info .= htmlspecialchars($cfg['Server']['verbose']); if ($GLOBALS['cfg']['ShowServerInfo']) { $server_info .= ' ('; } } if ($GLOBALS['cfg']['ShowServerInfo'] || empty($cfg['Server']['verbose'])) { $server_info .= PMA_DBI_get_host_info(); } if (! empty($cfg['Server']['verbose']) && $GLOBALS['cfg']['ShowServerInfo']) { $server_info .= ')'; } $mysql_cur_user_and_host = PMA_DBI_fetch_value('SELECT USER();'); // should we add the port info here? $short_server_info = (!empty($GLOBALS['cfg']['Server']['verbose']) ? $GLOBALS['cfg']['Server']['verbose'] : $GLOBALS['cfg']['Server']['host']); } echo '
' . "\n"; echo '
'; if ($server > 0 || count($cfg['Servers']) > 1 ) { echo '
'; echo ' [...]
Você poderia me ajudar? Aguardo resposta.