Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 4f64b76

Browse files
committed
modify php.ini memory_limit 256M -> 128M(default)
1 parent 3ceb347 commit 4f64b76

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

‎README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
- www.conf
3131
- pm 相关优化,从上到下,dynamic 100 75 50 100,**需要依据机器调优,内存使用率**
3232
- php.ini
33-
- memory_limit = 256M,for yii2 class autoload script
3433
- post_max_size = 1024M,大文件上传
3534
- upload_max_filesize = 1024M,大文件上传
3635
- date.timezone = Asia/Shanghai

‎php-fpm/php.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ max_input_time = 60
401401

402402
; Maximum amount of memory a script may consume (128MB)
403403
; http://php.net/memory-limit
404-
memory_limit = 256M
404+
memory_limit = 128M
405405

406406
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
407407
; Error handling and logging ;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /