LoginSignup
0
0

More than 5 years have passed since last update.

Cannot start session without errorsのエラーがphpMyAdminで発生したら

Posted at

phpMyAdminにアクセスした際に、Cannot start session without errorsが
出た際の対応をメモ。

phpinfoを表示させ
session.save_pathを確認する。

session.save_path /var/lib/php/session
であったのであれば、

コマンド
ls -l /var/lib/php/

でsessionフォルダのアクセス権を確認する。

コマンド
drwxrwx--- 2 root apache 4096  3月  3 16:07 session

となっていたので、nginxでサーバを動かしている時は、

コマンド
chown -R root.nginx /var/lib/php/session

を打つ。
これでphpMyAdminのエラーが復旧する。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0