摘要:
项目更目录下 vim .git/config [user] name = hanzaixing email = hanzaixing@btte.net 阅读全文
摘要:
1、history |grep ssh 查看历史命令 是否有修改过 2、vi /etc/ssh/sshd_config 编辑 添加ip 3、service sshd restart 重启 阅读全文
摘要:
1.第一步修改php.ini文件:打开 /Applications/MAMP/bin/php/{your PHP version}/conf/php.ini 文件找到 display_errors = Off (大概在 277 行的位置),改成 display_errors = On和找到设成err 阅读全文
摘要:
public function run($params){ if(!empty($params['match_code'])){ $match_code = $params['match_code']; }else{ return $this->errorReturn(1000); } $resul 阅读全文
摘要:
{ "name": "test/demo", "description": "gaoxing test", "type": "project", "license": "1.0", "authors": [ { "name": "John Smith", "email": "john@example 阅读全文
摘要:
在 CentOS7 上运行项目,但是不断的提示报错“SQLSTATE[HY000] [2005] Unknown MySQL server host ‘127.0.0.1:3306’ (110)”,找到报错位置后,发现代码如下: $dsn = "mysql:host=127.0.0.1:3306;d 阅读全文
摘要:
sudo vim ~/.bash_profile #添加代码如下 #PATH填写想替换的php二进制文件路径 PATH="/Applications/MAMP/bin/php/php7.0.8/bin:$PATH" export PATH source ~/.bash_profile #刷新 php 阅读全文
摘要:
1、将.gitignore 备份出来 ,移除 2、将想要忽略,却已经标记的文件删除,再讲.gitignore 拷贝回来。应该就ok了 阅读全文