Home > php教程 > php手册 > php.ini的配置:更改php.ini配置

php.ini的配置:更改php.ini配置

WBOY
Release: 2016-06-21 08:50:37
Original
1862 people have browsed it

@ini_set('memory_limit',        '64M');                                      /* 脚本最大占用内存大小 */
@ini_set('max_execution_time', '15');                                     /* 脚本最大执行时间 */
@ini_set('post_max_size', '12M');                                            /* 表单最大上传大小 */
@ini_set('upload_max_filesize', '2M');                                      /* 单个文件最大上传大小 */
@ini_set('session.name', 'anhuizhaopin_sessionid');                  /* SESSIONID的名称 */
@ini_set('session.cookie_httponly', '1');                                   /* sessionid是否添加HTTPONLY属性 */
@ini_set('session.use_trans_sid', '0');                                      /* 不尝试从其他地方获得sessionid */ 本文链接http://www.cxybl.com/html/wlbc/Php/20121222/35121.html



Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template