Ubuntu PHP session lifetime 증가시키기

HYEONG HWAN, MUN/ 2월 6, 2018/ 미분류/ 0 comments

https://blog.lael.be/post/6712

우분투 OS 환경에서는 독특한 퍼미션관리 때문에 시스템 garbage collector 가 동작한다.

php_value[session.save_path] = /home/myuser1/.php-session

0 6 * * * /usr/bin/find /home/myuser1/.php-session/ -atime +14 -type f | xargs rm

 

 

 

Leave a Comment

작성하신 댓글은 관리자의 수동 승인 후 게시됩니다.

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>
*
*