{"title":" PHP\u3067\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u3082\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046","provider_url":"https://hatena.blog","version":"1.0","author_url":"https://blog.hatena.ne.jp/iww/","blog_title":"\u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fiww.hateblo.jp%2Fentry%2F20240718%2Fsession\" title=\" PHP\u3067\u3001\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u3067\u3082\u30bb\u30c3\u30b7\u30e7\u30f3\u3092\u4f7f\u3046 - \u63ee\u767a\u6027\u306e\u30e1\u30e2\uff12\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","categories":["PHP"],"description":"PHP\u3067\u3001WEB\u30a2\u30af\u30bb\u30b9\u304b\u3089\u3082CLI\u304b\u3089\u3082\u3069\u3061\u3089\u304b\u3089\u3082\u540c\u3058\u30bb\u30c3\u30b7\u30e7\u30f3\u30d5\u30a1\u30a4\u30eb\u3092\u89e6\u308a\u305f\u3044\u3002 \u30bb\u30c3\u30b7\u30e7\u30f3\u306e\u4fdd\u5b58\u30d1\u30b9\u306f session.save_path \u306b\u66f8\u3044\u3066\u3042\u308b\u3002 WEB\u304b\u3089\u306e\u30a2\u30af\u30bb\u30b9\u306e\u3068\u304d\u306f\u3001\u306a\u3093\u304b php-fpm \u3068\u304b\u304c\u52dd\u624b\u306b/var/lib/php/session \u306b\u3057\u3066\u3044\u308b \u4e00\u65b9\u30b3\u30de\u30f3\u30c9\u30e9\u30a4\u30f3\u304b\u3089\u898b\u308b\u3068 \u30c7\u30d5\u30a9\u30eb\u30c8\u306f\u7a7a\u306b\u306a\u3063\u3066\u3044\u3066\u3001\u7a7a\u306e\u3068\u304d\u306f\u30c6\u30f3\u30dd\u30e9\u30ea\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306a\u308b\u3002 $ php -i | grep session.save_path session.save_path => no value => no value $ php -r \"echo sys_get_temp_dir\u2026","provider_name":"Hatena Blog","image_url":"https://cdn.user.blog.st-hatena.com/default_entry_og_image/42132/1685946694840016","type":"rich","published":"2024-07-18 08:30:00","url":"https://iww.hateblo.jp/entry/20240718/session","blog_url":"https://iww.hateblo.jp/","author_name":"iww","width":"100%"}