phpmyadmin Failed to set session cookie. Maybe you are using HTTP instead of HTTPS

后端 未结 16 2007
小鲜肉
小鲜肉 2020-12-05 14:34

I install PHP, Apache, and MySQL done and worked. When I finish installing Phpmyadmin, then open it has an error.

Failed to set session cookie. Maybe you are         


        
16条回答
  •  猫巷女王i
    2020-12-05 15:00

    Well, it's one of two things. Either you don't have TLS/HTTPS enabled on your production box (which you definitely should! -- good resources for getting started are Let's Encrypt and whatever host you're using) OR you're probably trying to access a development server in a production mode. In the latter case, while I'm not familiar with PHPMyAdmin myself I'd guess there's a configuration file somewhere that dictates when it should act like a production server versus a local server and you can just toggle that. But definitely don't toggle your production server to act like a development server, then you're just giving up security for convenience which will eventually come back to bite you.

提交回复
热议问题