编程日记 - HeyCode
  • 首页
  • 编程技巧
  • 开发教程
  • 工具箱

php session 设置问题

发布于: 2011-01-03 | 分类: PHP
\n


\n

今天在做的时候,以前都没有注意到这么一个问题,PHP的SESSION路径是要进行设置的.


\n

; Argument passed to save_handler. In the case of files, this is the path
; where data files are stored. Note: Windows users have to change this
; variable in order to use PHP’s session functions.
;session.save_path = /tmp
session.save_path = D:/php/session


\n

来源:网络

\n

热门分类

  • 数据库 (23)
  • Linux (21)
  • Windows (10)
  • Python (10)
  • golang (9)
  • Javascript (7)
  • JAVA (6)
  • PHP (5)
  • .net/c# (3)
  • Android (3)
  • C++ (3)

热门标签

  • 报错
  • linux
  • 性能排查
  • Windows 10
  • 内存
  • 进程
  • 数据库调优
  • Java
  • python
  • 慢查询

推荐阅读

  • PHP Composer报错Your requirements could not be resolved to an installable set of versions的排查方法(composer why-not定位冲突、平台约束与版本约束调整)
  • PHP连接MySQL报错SQLSTATE[HY000] [2002] No such file or directory与Connection refused的排查方法(localhost与127.0.0.1区别、socket路径与3306端口定位)
  • PHP报错Allowed memory size of 134217728 bytes exhausted的解决方法(memory_limit调整、memory_get_usage定位与内存泄漏排查)
  • PHP-FPM日志报server reached pm.max_children setting的排查与解决方法(pm.max_children计算与slowlog定位慢请求)
  • PHP上传大文件失败返回413或$_FILES为空的解决方法(upload_max_filesize与nginx client_max_body_size配置)

关于我们

编程日记是一个专注于技术分享的博客网站,致力于为开发者提供高质量的技术文章和教程。

快速链接

  • 首页
  • 技术文章
  • 开发教程
  • 工具箱

联系我们

  • 邮箱
  • GitHub
  • 微信公众号

© 2025 编程日记 - HeyCode. All rights reserved.

蜀ICP备11006464号 川公网安备51010502015376号