会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
opensmarty
记录我的成长吧~
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
70
71
72
73
74
75
76
下一页
2019年4月1日
【win7】安装开发环境
摘要: 1. 通用版主分支合并到v3,并删除data下无用文件或添加data有用文件 2. xampp php7与php5切换 是否可以行? 换phpstudy 默认支持php 32位,而我们要下载支持64的php5.6, php7.2且非线程 https://windows.php.net/downloa
阅读全文
posted @ 2019-04-01 13:30 opensmarty
阅读(219)
评论(0)
推荐(0)
2019年3月31日
【php-fpm】启动PHP报错ERROR: [pool www] cannot get uid for user 'apache'
摘要: 将@php_fpm_user@改为当前系统的用户名apache, 然后重新启动就ok了 注意:创建apache用户及用户组,上述命令换deamon为apache
阅读全文
posted @ 2019-03-31 01:47 opensmarty
阅读(3565)
评论(0)
推荐(0)
【apache2】AH00543: httpd: bad user name apache
摘要: 当启动 apache 时,出现一下异常:AH00543: httpd: bad user name daemon 解决方法: #groupadd daemon 或 #useradd -g daemon daemon 注意:创建apache用户及用户组,上述命令换deamon为apache
阅读全文
posted @ 2019-03-31 01:45 opensmarty
阅读(3867)
评论(0)
推荐(0)
【gedit】 显示行号
摘要: 打开gedit文本编辑器->Edit(编辑)->preferences(预设)->view(视图)->在Display line numbers前打勾->close
阅读全文
posted @ 2019-03-31 00:44 opensmarty
阅读(1885)
评论(1)
推荐(0)
2019年3月30日
关于golang.org/x包问题
摘要: 关于golang.org/x包问题 由于谷歌被墙,跟谷歌相关的模块无法通过go get来下载,解决方法: git clone https://github.com/golang/net.git $GOPATH/src/github.com/golang/net git clone https://g
阅读全文
posted @ 2019-03-30 23:00 opensmarty
阅读(255)
评论(0)
推荐(0)
国内的go get问题的解决
摘要: 在国内采用go get有时会下载不到一些网站如golang.org的依赖包。 方法1(亲测有效): gopm 代替go 下载第三方依赖包可以采用gopm从golang.org一些镜像网站上下载。 注意,gopm只能把包的原代码下载,需要自己去go install。 a). 安装gopm b). 用g
阅读全文
posted @ 2019-03-30 22:59 opensmarty
阅读(709)
评论(0)
推荐(0)
php7函数,声明,返回值等新特性介绍
摘要: 使用 ... 运算符定义变长参数函数 (PHP 5 >= 5.6.0, PHP 7) 现在可以不依赖 func_get_args(), 使用 ... 运算符 来实现 变长参数函数。 以上例程会输出: $req: 1; $opt: 0; number of params: 0 $req: 1; $op
阅读全文
posted @ 2019-03-30 22:36 opensmarty
阅读(4240)
评论(0)
推荐(1)
php5.6.x到php7.0.x特性
摘要: php5.6.x到php7.0.x特性 1.标量类型声明 字符串(string), 整数 (int), 浮点数 (float), 布尔值 (bool),callable,array,self,Class/interface name 2.返回值类型声明 定义参数类型和返回值类型 function t
阅读全文
posted @ 2019-03-30 22:12 opensmarty
阅读(242)
评论(0)
推荐(0)
PHP5.4.0新特性研究
摘要: PHP5.4.0新特性研究 1、内建Web Server 这的确是个好的改进,大大的方便了开发人员。以后开发机不装nginx,httpd也行 如: 前台运行: 后台运行: 2、数组定义,增加了一种简便写法 结果: Array ( [0] => 1 [1] => 2 [2] => 3 ) Array
阅读全文
posted @ 2019-03-30 22:11 opensmarty
阅读(124)
评论(0)
推荐(0)
2019年3月29日
【git】如何去解决fatal: refusing to merge unrelated histories
摘要: 我在Github新建一个仓库,写了License,然后把本地一个写了很久仓库上传。 先pull,因为两个仓库不同,发现refusing to merge unrelated histories,无法pull 因为他们是两个不同的项目,要把两个不同的项目合并,git需要添加一句代码,在git pull
阅读全文
posted @ 2019-03-29 11:01 opensmarty
阅读(1825)
评论(0)
推荐(0)
上一页
1
···
70
71
72
73
74
75
76
下一页
公告