Home >Backend Development >PHP Tutorial >这种设置是咋回事呢

这种设置是咋回事呢

WBOY
WBOYOriginal
2016-06-13 12:21:361154browse

这种设置是怎么回事呢
下面是ecshop中一个文件的设置,感觉怪怪的。
@好理解,是为了防止notice的,可是后面的就不理解了。比如形如 ini_set('memory_limit',          '64M');这是常量?显然不对,那是啥呢
@ini_set('memory_limit',          '64M');
@ini_set('session.cache_expire',  180);
@ini_set('session.use_trans_sid', 0);
@ini_set('session.use_cookies',   1);
@ini_set('session.auto_start',    0);
@ini_set('display_errors',        1);
------解决思路----------------------
ini_set 就是设置php.ini里面的php参数
比如:memory_limit 就是内存大小

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