会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
微风星语
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
19
下一页
2019年1月8日
tp3.2 curd学习1
摘要: tp3.2 1、批量新增或者更新,addAll()方法。 先上测试代码: 测试结果: 1)原来数据库中已经存有一条数据 在执行t1方法后,数据如下, 2)打印出来 执行的sql语句是: 综上, 根据唯一条件,去更新或新增记录。 ps: 注意二维数组data里的,一维数组,字段个数 和顺序要一样,不然
阅读全文
posted @ 2019-01-08 11:03 微风星宇
阅读(311)
评论(0)
推荐(0)
2018年11月27日
vim 学习(一)
摘要: 1、高亮查找匹配 查看文档、:h hlsearch 设置高亮、:set hlsearch 或 :se hls 设置不高亮、:set nohlsearch 或 :se hls! 或 :se nohls
阅读全文
posted @ 2018-11-27 22:48 微风星宇
阅读(127)
评论(0)
推荐(0)
vim 普通模式学习(一)
摘要: 普通模式: 1、修改 . 重复上次操作 u 撤销上次修改 2、删除 x 删除光标所在 dd 删除整行 3、缩进 >G ,缩进层级是从当前行到文档末尾处的缩进 4、在光标后进入插入模式 a 5、把光标定位到行尾 $ 6、光标下移一行 j 7、把光标定位到行首 ^ 8、光标定位到行尾,并进入插入模式,光标在行尾...
阅读全文
posted @ 2018-11-27 22:46 微风星宇
阅读(247)
评论(0)
推荐(0)
2018年11月24日
swoole安装
摘要: 以下是在macos 下操作: 1、git clone swoole 代码 2、phpize 3、./configure ./configure —with-php-config=‘指定php版本的php-config路径’ 3、make 4、make install Installing share
阅读全文
posted @ 2018-11-24 10:47 微风星宇
阅读(136)
评论(0)
推荐(0)
2018年4月6日
yar安装
摘要: yar 安装 1、将yar gaz 解压后的包 复制到 php ext下, 通过brew 安装的php ext在 /usr/local/Cellar/php71/7.1.13_24/include/php/ext 2、进入到yar目录下 执行/usr/local/php/bin/phpize ./configure --with-php-config=/usr/local/Cellar/...
阅读全文
posted @ 2018-04-06 12:48 微风星宇
阅读(497)
评论(0)
推荐(0)
2018年1月31日
xdebug安装
摘要: 在mac打开终端: 1.查询php版本 查的PHP版本是: PHP 7.1.13 2.输入命令: 3.找到对应php版本的xdebug: ==> Installing php71-xdebug from homebrew/php ==> Downloading https://homebrew.bi
阅读全文
posted @ 2018-01-31 18:09 微风星宇
阅读(145)
评论(0)
推荐(0)
2018年1月25日
开机启动nginx 和php-fpm
摘要: 开机启动nginx 在 /Library/LaunchDaemons/ 目录新建 org.macports.nginx.plist 文件 加载配置:launchctl load -w /Library/LaunchDaemons/org.macports.nginx.plist 开机启动指定php-
阅读全文
posted @ 2018-01-25 17:39 微风星宇
阅读(124)
评论(0)
推荐(0)
brew 安装
摘要: 进入官网https://brew.sh/index_zh-cn.html 在终端执行 引入tap 安装php 在终端查看版本 安装写扩展
阅读全文
posted @ 2018-01-25 16:14 微风星宇
阅读(130)
评论(0)
推荐(0)
2018年1月20日
brew install php7.1
摘要: 通过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
阅读全文
posted @ 2018-01-20 15:17 微风星宇
阅读(291)
评论(0)
推荐(0)
解决phpinfo()与 php -v不一样
摘要: php -i | grep php.ini 查看PHP加载的是哪个配置文件,这个获取的是系统内的php.ini 的位置。不是网页apache加载的php.ini文件 添加变量默认php版本 export PATH="/usr/local/Cellar/php71/7.1.13_24/bin:$PAT
阅读全文
posted @ 2018-01-20 15:09 微风星宇
阅读(398)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
19
下一页
公告