LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2320|回复: 1

大家帮忙看看我的 php配置 的问题出在那里????

[复制链接]
发表于 2005-10-6 13:43:09 | 显示全部楼层 |阅读模式
php.ini配置文件

上传文件部分

  1. ; File Uploads ;
  2. ;;;;;;;;;;;;;;;;

  3. ; Whether to allow HTTP file uploads.
  4. file_uploads = On

  5. ; Temporary directory for HTTP uploaded files (will use system default if not
  6. ; specified).
  7. upload_tmp_dir = /temp
  8. ; Maximum allowed size for uploaded files.
  9. upload_max_filesize = 30M
复制代码



session  部分

  1. [Session]
  2. ; Handler used to store/retrieve data.
  3. session.save_handler = files

  4. ; Argument passed to save_handler.  In the case of files, this is the path
  5. ; where data files are stored. Note: Windows users have to change this
  6. ; variable in order to use PHP's session functions.
  7. ; As of PHP 4.0.1, you can define the path as:
  8. ;     session.save_path = "N;/path"
  9. ; where N is an integer.  Instead of storing all the session files in
  10. ; /path, what this will do is use subdirectories N-levels deep, and
  11. ; store the session data in those directories.  This is useful if you
  12. ; or your OS have problems with lots of files in one directory, and is
  13. ; a more efficient layout for servers that handle lots of sessions.
  14. ; NOTE 1: PHP will not create this directory structure automatically.
  15. ;         You can use the script in the ext/session dir for that purpose.
  16. ; NOTE 2: See the section on garbage collection below if you choose to
  17. ;         use subdirectories for session storage
  18. session.save_path = /temp

  19. ; Whether to use cookies.
  20. session.use_cookies = 1
复制代码


看看我的/temp
文件夹的属性777


看看我装mombo时候的提示


后来换装ezpublish提示说/temp没有写权限

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2005-10-7 09:19:52 | 显示全部楼层
chmod -R 777 *
光看属性有时会漏掉的
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表