LoginSignup
2
0

More than 5 years have passed since last update.

cakephp3 のエラー対処(トラブルシューティング)※随時更新予定

Last updated at Posted at 2016-03-03

cakephp3を下記環境で構築した際のトラブルシューティングメモ

  • CentOS7: CentOS Linux release 7.1.1503 (Core)
  • php7: PHP 7.0.3 (cli) (built: Feb 3 2016 10:42:03) ( NTS )
  • php-fpm: PHP 7.0.3 (fpm-fcgi) (built: Feb 3 2016 10:43:12)
  • nginx: nginx version: nginx/1.6.3 ★古い
  • MySQL: Server version: 5.6.29 MySQL Community Server (GPL)
  • Cakephp3.2

case1 phpのセッションファイルのパーミッションがおかしい

Warning (2): session_start(): open(/var/opt/remi/php70/lib/php/session/sess_72ktdepo5s76k8qmgjsengld40, O_RDWR) failed: Permission denied (13) [CORE/src/Network/Session.php, line 324]

対処...

$ chown -R root:nginx /var/opt/remi/php70/lib/php/session

※適宜環境によってパーミッション合わせる。

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