File tree Expand file tree Collapse file tree 3 files changed +34
-8
lines changed Expand file tree Collapse file tree 3 files changed +34
-8
lines changed Original file line number Diff line number Diff line change 1+ ### 运行环境配置
2+
3+ > php.ini
4+
5+ ``` apacheconfig
6+ upload_max_filesize = 1024M
7+ post_max_size = 1024M
8+ ```
9+
10+ > nginx
11+
12+ ``` apacheconfig
13+ client_max_body_size 1024M;
14+ proxy_connect_timeout 9000s;
15+ proxy_read_timeout 9000s;
16+ proxy_send_timeout 9000s;
17+ ```
18+
19+
20+ > 文件夹权限
21+
22+ ``` shell
23+ sudo chmod -R 755 public/upload/
24+ ```
25+
Original file line number Diff line number Diff line change 1+ {
2+ "copy-from-package" : {
3+ "routing/" : " config/routing/" ,
4+ "Business/" : " src/Business/" ,
5+ "Controller/" : " src/Controller/" ,
6+ "public/" : " public/" ,
7+ "Document/" :" src/Document/"
8+ }
9+ }
Original file line number Diff line number Diff line change 2424 "require" : {
2525 "phpzlc/phpzlc" : " 2.*" ,
2626 "phpzlc/upload" : " 2.*"
27- },
28- "scripts" :{
29- "auto-scripts" : {
30- "phpzlc:flex:install upload-business" : " symfony-cmd"
31- },
32- "post-install-cmd" : [
33- " @auto-scripts"
34- ]
3527 }
3628}
You can’t perform that action at this time.
0 commit comments