深入理解PHP原理之Session Gc的一个小概率Notice

时间:2020-12-19 20:47:44
【文件属性】:
文件名称:深入理解PHP原理之Session Gc的一个小概率Notice
文件大小:54KB
文件格式:PDF
更新时间:2020-12-19 20:47:44
c ce ice 如果在ubuntu/Debian下, 采用apt安装的PHP, 那么在使用Session的时候, 就可能会有小概率遇到这个提示. 复制代码 代码如下: PHP Notice: session_start(): ps_files_cleanup_dir: opendir(/var/lib/php5) failed: Permission denied (13) in /home/laruence/www/htdocs/index.php on line 22 这是因为, 在PHP中, 如果使用file_handler作为Session的save handler, 那么就有概率在每次sessio

网友评论