会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
没事就更
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
34
下一页
2020年2月19日
git 修改提交的用户名
摘要: 项目更目录下 vim .git/config [user] name = hanzaixing email = hanzaixing@btte.net
阅读全文
posted @ 2020-02-19 22:08 没事就更
阅读(523)
评论(0)
推荐(0)
2020年2月12日
服务器sshd远程登录 加白名单ip
摘要: 1、history |grep ssh 查看历史命令 是否有修改过 2、vi /etc/ssh/sshd_config 编辑 添加ip 3、service sshd restart 重启
阅读全文
posted @ 2020-02-12 15:13 没事就更
阅读(643)
评论(0)
推荐(0)
2020年2月3日
MAC 下 mamp环境开启php错误提醒
摘要: 1.第一步修改php.ini文件:打开 /Applications/MAMP/bin/php/{your PHP version}/conf/php.ini 文件找到 display_errors = Off (大概在 277 行的位置),改成 display_errors = On和找到设成err
阅读全文
posted @ 2020-02-03 13:13 没事就更
阅读(520)
评论(0)
推荐(0)
2020年1月28日
composer 框架搭建
摘要:
阅读全文
posted @ 2020-01-28 12:05 没事就更
阅读(251)
评论(0)
推荐(0)
2020年1月20日
php mysql 数据库 (yii) 分组查询实例
摘要: public function run($params){ if(!empty($params['match_code'])){ $match_code = $params['match_code']; }else{ return $this->errorReturn(1000); } $resul
阅读全文
posted @ 2020-01-20 10:18 没事就更
阅读(609)
评论(0)
推荐(0)
2020年1月15日
composer 自动加载
摘要: { "name": "test/demo", "description": "gaoxing test", "type": "project", "license": "1.0", "authors": [ { "name": "John Smith", "email": "john@example
阅读全文
posted @ 2020-01-15 17:11 没事就更
阅读(536)
评论(0)
推荐(0)
2020年1月14日
composer 常用命令
摘要:
阅读全文
posted @ 2020-01-14 16:25 没事就更
阅读(130)
评论(0)
推荐(0)
2020年1月9日
yii linux 上运行脚本 报PDO连接时,提示 Exception 'yii\db\Exception' with message 'SQLSTATE[HY000] [2005] Unknown MySQL server host
摘要: 在 CentOS7 上运行项目,但是不断的提示报错“SQLSTATE[HY000] [2005] Unknown MySQL server host ‘127.0.0.1:3306’ (110)”,找到报错位置后,发现代码如下: $dsn = "mysql:host=127.0.0.1:3306;d
阅读全文
posted @ 2020-01-09 10:54 没事就更
阅读(679)
评论(0)
推荐(0)
2020年1月8日
mac上修改php命令行的路径
摘要: sudo vim ~/.bash_profile #添加代码如下 #PATH填写想替换的php二进制文件路径 PATH="/Applications/MAMP/bin/php/php7.0.8/bin:$PATH" export PATH source ~/.bash_profile #刷新 php
阅读全文
posted @ 2020-01-08 17:02 没事就更
阅读(1385)
评论(0)
推荐(0)
2020年1月7日
git .gitignore 不生效处理办法
摘要: 1、将.gitignore 备份出来 ,移除 2、将想要忽略,却已经标记的文件删除,再讲.gitignore 拷贝回来。应该就ok了
阅读全文
posted @ 2020-01-07 14:30 没事就更
阅读(171)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
34
下一页
公告