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

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

WBOY
WBOYOriginal
2016-06-21 08:50:371839browse

@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



Statement:
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