本文共 1092 字,大约阅读时间需要 3 分钟。
Resource Limits
;;;;;;;;;;;;;;;;;;;; Resource Limits ;;;;;;;;;;;;;;;;;;;;max_execution_time = 30 ; Maximum execution time of each script, in secondsmax_input_time = 60 ; Maximum amount of time each script may spend parsing request data;max_input_nesting_level = 64 ; Maximum input variable nesting levelmemory_limit = 512M ; Maximum amount of memory a script may consume (16MB)
;;;;;;;;;;;;;;;;; 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 =; Maximum allowed size for uploaded files.upload_max_filesize = 5M
编辑 php.ini 在 [Session]位置添加。
extension=memcache.somemcache.allow_failover = 1memcache.max_failover_attempts = 20memcache.chunk_size = 8192memcache.default_port = 11211session.save_handler = memcachesession.save_path = "udp://172.16.0.10:11211,tcp://172.16.0.11:11211"
cgi.fix_pathinfo=1