• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
 






牛奶一箱

 
 

Powered by 博客园
博客园 | 首页 | 新随笔 | 联系 | 订阅 订阅 | 管理
上一页 1 2

2018年12月3日

phh7 安装redis扩展
摘要: 1.安装redis服务器 下载redis服务器: wget http://download.redis.io/releases/redis-5.0.2.tar.gz 解压:tar -zxvf redis-5.0.2.tar.gz 进入目录:cd redis-5.0.2 安装: make && mak 阅读全文
posted @ 2018-12-03 10:39 牛奶一箱 阅读(210) 评论(0) 推荐(0)
 

2018年11月21日

php7 安装event扩展
摘要: 1.安装libevent // libevent 是一个库,event扩展依赖这个库并实现其功能!其实有php-libevent扩展,但是不知道什么原因,并不支持php7 下载最新稳定版:wget -c https://github.com/libevent/libevent/releases/do 阅读全文
posted @ 2018-11-21 14:54 牛奶一箱 阅读(3200) 评论(0) 推荐(0)
 

2018年11月19日

nginx try_files 举例详解
摘要: 基本语法: try_files file1[file2 file3 ...] uri 或 try_files file1 [file2 file3 ...] = code 解释: file :文件或文件路径(文件夹) uri:默认文件 code:状态码 连起来就是:试图寻找文件(或文件夹)file1 阅读全文
posted @ 2018-11-19 15:16 牛奶一箱 阅读(1229) 评论(0) 推荐(0)
 
php7.2.3 安装pcntl 扩展
摘要: 1.查看本机安装的php版本 php -v 或者 php-fpm -v 2.官网下载对应版本的php 解压 tar -zxvf php-7.2.3.tar.gz 进入pcntl扩展目录cd php-7.2.3/ext/pcntl 运行phpize (php安装成功后自带,一般在安装目录里的bin目录 阅读全文
posted @ 2018-11-19 11:12 牛奶一箱 阅读(4490) 评论(0) 推荐(0)
 

2018年9月28日

nginx配置php-pathinfo
摘要: location ~ [^/]\.php(/|$){ fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fas 阅读全文
posted @ 2018-09-28 16:41 牛奶一箱 阅读(722) 评论(0) 推荐(0)
 

2018年7月30日

thinkphp3.2.3使用PDO的问题
摘要: 想要在thinkphp中使用pdo操作数据库,配置如下: 阅读全文
posted @ 2018-07-30 16:41 牛奶一箱 阅读(947) 评论(0) 推荐(0)
 

2018年7月24日

niginx参数配置详解(转)
摘要: 作者:邓永超链接:https://zhuanlan.zhihu.com/p/38015228来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 configure 参数详解 目录参数 --prefix=PATH nginx安装后部署的根目录 /usr/local/ngin 阅读全文
posted @ 2018-07-24 17:11 牛奶一箱 阅读(1097) 评论(0) 推荐(0)
 

2018年3月19日

lnmp编译安装:centos7+nginx-1.12+mariadb10.2+php7.2
摘要: 最近在捣鼓公司项目的服务器,每次都要搜索一次命令很费时间,为了方便以后安装,写了这篇文章 1.准备基础工具 由于采用编译安装,必须下载编译工具 安装依赖:yum -y install make zlib zlib-devel gcc-c++ libtool openssl openssl-devel 阅读全文
posted @ 2018-03-19 17:37 牛奶一箱 阅读(467) 评论(0) 推荐(0)
 

2017年12月27日

tinkphp3第三方类库引入问题
摘要: 1.把三方类库放进/Library/Org目录下 2.更改三方类库命名空间,(如三方文件包名为test,更改命名空间为/Org/test/*/*/...) 3.使用:controller或model头部Use这个目录,直接new; ps:天坑:new的class所在文件后缀名必须是class.php 阅读全文
posted @ 2017-12-27 17:04 牛奶一箱 阅读(223) 评论(0) 推荐(0)
 
上一页 1 2