LoginSignup
1
0

More than 5 years have passed since last update.

XAMPP:session_start(): Session data file is not created by your uid の解決策

Posted at

phpMyAdminを起動したんだけどつながらなかった話

表題にもしているが、なぜかセッションファイルにアクセスできなくなってしまう事例が発生し、ローカル環境のphpMyAdminにつながらなくなった。

エラー: session_start(): Session data file is not created by your uid

解決方法

①php.iniを開く

②以下の記述を見つける


session.save_path="/Applications/XAMPP/xamppfiles/temp/"

③指定されているパスを開く

[terminal]

$ open /Applications/XAMPP/xamppfiles/temp/

こうすると、一発で指定パスのディレクトリのfinderが開くんです!

④指定パスのディレクトリ内部のファイルを移動or削除

データ飛んだら嫌だな。。。って方はファイルを避難させておく方が吉。

⑤一応apacheを再起動しておき、動作を確認する。

これでうまくいきました!

1
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
1
0