|
php.ini配置文件
上传文件部分
- ; File Uploads ;
- ;;;;;;;;;;;;;;;;
- ; Whether to allow HTTP file uploads.
- file_uploads = On
- ; Temporary directory for HTTP uploaded files (will use system default if not
- ; specified).
- upload_tmp_dir = /temp
- ; Maximum allowed size for uploaded files.
- upload_max_filesize = 30M
复制代码
session 部分
- [Session]
- ; Handler used to store/retrieve data.
- session.save_handler = files
- ; 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.
- ; As of PHP 4.0.1, you can define the path as:
- ; session.save_path = "N;/path"
- ; where N is an integer. Instead of storing all the session files in
- ; /path, what this will do is use subdirectories N-levels deep, and
- ; store the session data in those directories. This is useful if you
- ; or your OS have problems with lots of files in one directory, and is
- ; a more efficient layout for servers that handle lots of sessions.
- ; NOTE 1: PHP will not create this directory structure automatically.
- ; You can use the script in the ext/session dir for that purpose.
- ; NOTE 2: See the section on garbage collection below if you choose to
- ; use subdirectories for session storage
- session.save_path = /temp
- ; Whether to use cookies.
- session.use_cookies = 1
复制代码
看看我的/temp
文件夹的属性777
看看我装mombo时候的提示
后来换装ezpublish提示说/temp没有写权限 |
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?注册
x
|