宝塔访问数据库出现405 Not Allowed nginx错误

  • 主要原因:PHP版本和phpMyAdmin版本不兼容

  • 解决办法:

    • 一个兼容的版本是php7.0x,phpMyAdmin4.4

    • 设置phpMyAdmin中的php版本为php7.0x