Pular para o conteúdo

Problemas com PHPMYADMIN [RESOLVIDO]

Responder tópico
  • Denunciar
  • Indicar

1. Problemas com PHPMYADMIN [RESOLVIDO]

Enviado em 03/10/2018 - 14:06h

Boa tarde, estou com o seguinte problema quando tento acessar o phmpmyadmin:
OBS: localhost está OK!
O problema é quando eu digito localhost/phpmyadmin, nao me direciona para a tela de login e apresenta a seguinte mensagem no browser:

"($GLOBALS['cfg']['ShowServerInfo'] || empty($cfg['Server']['verbose'])) { $server_info .= $GLOBALS['dbi']->getHostInfo(); } if (! empty($cfg['Server']['verbose']) && $GLOBALS['cfg']['ShowServerInfo']) { $server_info .= ')'; } $mysql_cur_user_and_host = $GLOBALS['dbi']->fetchValue('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"; // Anchor for favorite tables synchronization. echo PMA_RecentFavoriteTable::getInstance('favorite')->getHtmlSyncFavoriteTables(); echo '
'; if ($server > 0 || count($cfg['Servers']) > 1 ) { if ($cfg['DBG']['demo']) { echo '
'; echo '
' . __('phpMyAdmin Demo Server') . '
'; echo '

'; printf( __( 'You are using the demo server. You can do anything here, but ' . 'please do not change root, debian-sys-maint and pma users. ' . 'More information is available at %s.' ), 'demo.phpmyadmin.net' ); echo '
'; echo '
'; } echo '
'; echo ' "

Responder tópico

2. Re: Problemas com PHPMYADMIN [RESOLVIDO]

Enviado em 03/10/2018 - 14:41h

Como você fez a configuração ? Usou algum tutorial na internet ? Está usando Ubuntu mesmo ou outra ?

3. Problemas com PHPMYADMIN

Enviado em 03/10/2018 - 14:48h

Tutorial na internet, sim uso Ubuntu na minha maquina.

4. Re: Problemas com PHPMYADMIN [RESOLVIDO]

Enviado em 03/10/2018 - 14:58h

Eu já fiz isso uma vez para um trabalho da universidade, chegou a fazer essas configurações:

# nano /etc/httpd/conf.d/phpMyAdmin.conf

Onde estiver:
<RequireAny>
Require ip 127.0.0.1
Require ip ::1
</RequireAny>

Altere para:

<RequireAny>
# Require ip 127.0.0.1
# Require ip ::1
Require all granted
</RequireAny>

Reiniciar Apache: # systemctl restart httpd.service

5. Problemas com PHPMYADMIN

Enviado em 03/10/2018 - 15:13h

Não tentei isso, vou testar ainda hoje e lhe deixo informado, obrigado !

6. RESOLVIDO

Enviado em 03/10/2018 - 23:13h

Boa noite, consegui acessar através do protocolo https://
Só coloquei "https://localhost/phpmyadmin"; e acessou perfeitamente ;)

Responder tópico

Responder tópico

Entre na sua conta para responder.

Fazer login para responder