01 2018 档案
摘要:在mac打开终端: 1.查询php版本 查的PHP版本是: PHP 7.1.13 2.输入命令: 3.找到对应php版本的xdebug: ==> Installing php71-xdebug from homebrew/php ==> Downloading https://homebrew.bi
阅读全文
摘要:开机启动nginx 在 /Library/LaunchDaemons/ 目录新建 org.macports.nginx.plist 文件 加载配置:launchctl load -w /Library/LaunchDaemons/org.macports.nginx.plist 开机启动指定php-
阅读全文
摘要:进入官网https://brew.sh/index_zh-cn.html 在终端执行 引入tap 安装php 在终端查看版本 安装写扩展
阅读全文
摘要:通过brew install php7.1 The php.ini file can be found in: /usr/local/etc/php/7.1/php.ini ✩✩✩✩ Extensions ✩✩✩✩ If you are having issues with custom exten
阅读全文
摘要:php -i | grep php.ini 查看PHP加载的是哪个配置文件,这个获取的是系统内的php.ini 的位置。不是网页apache加载的php.ini文件 添加变量默认php版本 export PATH="/usr/local/Cellar/php71/7.1.13_24/bin:$PAT
阅读全文
摘要:使用sudo nginx -s reload 报错 nginx: [error] invalid PID number "" in "/usr/local/var/run/nginx.pid" 解决方法: sudo nginx -c /usr/local/etc/nginx/nginx.conf 然
阅读全文
摘要:brew search nginx查询版本 使用brew install nginx 安装 Docroot is: /usr/local/var/www (服务器默认路径) The default port has been set in /usr/local/etc/nginx/nginx.con
阅读全文
摘要:1、简单动态字符串 Redis只会使用C字符串作为字面量,在大多数情况下,Redis使用SDS(Simple Dynamic String,简单动态字符串)作为字符串表示。 比起C字符串,SDS具有以下优点: 1)常数复杂度获取字符串长度 2)杜绝缓冲区溢出 3)减少修改字符串长度时所需的内存重分配
阅读全文

浙公网安备 33010602011771号