随笔分类 -  PHP

abouot php
摘要:php7新特性 太空船操作符 <=> echo 1<=>1; //0 echo 1<=>2: //-1 echo 2<=>1;//1 类型声明: declare (strict_types=1) // strict_types=1表示开启严格模式 function sum(int...$ints): 阅读全文
posted @ 2019-11-18 12:18 蓝静空 阅读(149) 评论(0) 推荐(0)
摘要:如果你是Nginx的话还需要修改nginx.conf中的http段:1. 修改PHP配置文件中的三项:vim /usr/local/php/etc/php.ini(1)post_max_size = 50M #PHP可接受的最大POST数据(2)upload_max_filesize = 50M # 阅读全文
posted @ 2019-09-12 15:22 蓝静空 阅读(650) 评论(0) 推荐(0)
摘要:g - git gst - git status gl - git pull gup - git pull --rebase gp - git push gd - git diff gdc - git diff --cached gdv - git diff -w "$@" | view gc - 阅读全文
posted @ 2019-08-26 14:47 蓝静空 阅读(309) 评论(0) 推荐(0)
摘要:面对错误: http 返回:413 Payload Too Large php作为服务端,配合nginx的常规接受上传的大文件配置: nginx 配置修改client_max_body_size 500m; PHP.ini 文件修改 post_max_size = 500M upload_max_f 阅读全文
posted @ 2019-08-26 12:40 蓝静空 阅读(230) 评论(0) 推荐(0)