Nginx with phpmyadmin wrong redirect after login

前端 未结 6 1169
时光取名叫无心
时光取名叫无心 2021-02-04 13:48

I\'m setting up phpMyAdmin with nginx. I can visit phpMyAdmin at http://localhost/phpmyadmin. However, when I logged in, the URL is redirected to http://localhost/sql.php instea

6条回答
  •  有刺的猬
    2021-02-04 14:49

    After google for some time, just open config.inc.php and add:

    $cfg['PmaAbsoluteUri'] = 'your based uri'; 
    

    and everything works perfectly!

提交回复
热议问题