2019年11月4日

PHP如何配置session存储在redis

摘要: 当网站用户量增多的时候,正常的session存取就会出现有点慢的问题,如果提高速度呢。 我们可以使用redis去保存session的会话信息。 PHP的会话默认是以文件的形式存在的,可以配置到NoSQL中,即提高了访问速度,又能很好地实现会话共享。 配置方式如下: 方法一:修改 php.ini 的设 阅读全文

posted @ 2019-11-04 22:55 yipianchuyun 阅读(1231) 评论(0) 推荐(0)

2019年9月20日

ssl & ike/ipsec

摘要: SSL/TLS IKE/IPSEC IKE协商ike sa 和 ipsec sa,IPSEC 使用ipsec sa进行报文加解封装 IKE IPSEC IPsec虚拟隧道接口对报文的加封装/解封装发生在隧道接口上。用户流量到达实施IPsec配置的设备后,需要IPsec处理的报文会被转发到IPsec虚 阅读全文

posted @ 2019-09-20 09:37 yipianchuyun 阅读(397) 评论(0) 推荐(0)

2019年9月15日

problems

摘要: exceptionUnable to connect to userservice.shanmaohuwai.com:80 . Error #0: stream_socket_client(): unable to connect to userservice.shanmaohuwai.com:80 阅读全文

posted @ 2019-09-15 00:15 yipianchuyun 阅读(160) 评论(0) 推荐(0)

2019年8月28日

How to generate entities from database schema using doctrine-orm-module

摘要: 1、安装好doctrine,在composer.json中添加如下 "require": { "php": "^5.6 || ^7.0", "doctrine/doctrine-orm-module": "*", }, 执行composer install 2、在yourAPP/config/mod 阅读全文

posted @ 2019-08-28 23:50 yipianchuyun 阅读(442) 评论(0) 推荐(0)

2019年7月4日

zendframework3

摘要: 1、开发时关闭cache,正式上线后打开cache application config file (config/application.config.php), disable this cache remove config/development.config.php.dist config 阅读全文

posted @ 2019-07-04 02:37 yipianchuyun 阅读(413) 评论(0) 推荐(0)

2019年6月30日

centOS7下SVN的安装和使用

摘要: 1. 安装 CentOS通过yum安装subversion。 # yum install subversion subversion安装在/bin目录: # which svnserve #查看目录命令/usr/bin/svnserve 检查一下subversion是否安装成功。不要使用1.8版本 阅读全文

posted @ 2019-06-30 14:54 yipianchuyun 阅读(731) 评论(0) 推荐(0)

2019年6月29日

php编译选项

摘要: ./configure --with-apxs2=/usr/local/httpd-2.4.33/bin/apxs \--with-curl \--with-freetype-dir=/usr/local/freetype \--with-gd \--with-gettext \--with-ico 阅读全文

posted @ 2019-06-29 00:03 yipianchuyun 阅读(284) 评论(0) 推荐(0)

2019年6月28日

zendframewor 项目构建

摘要: 1、安装好新的php 2、安装composer 在https://getcomposer.org/download/上手动下载最新版本的composer.phar 放到/usr/local/bin目录中病重命名为composer 运行composer self-update把composer升级到最 阅读全文

posted @ 2019-06-28 00:11 yipianchuyun 阅读(169) 评论(0) 推荐(0)

2019年6月16日

Docker多网卡

摘要: # 查看所有网络docker network ls# 如果要查看更加详细的虚拟网卡,如下指令docker network inspect [NetWorkEthName | NetWorkEthID]# 先创建两个虚拟网卡 docker network create --driver bridge 阅读全文

posted @ 2019-06-16 23:18 yipianchuyun 阅读(3411) 评论(0) 推荐(0)

2019年5月18日

php-fpm cgi fast-cgi

摘要: 基础 在整个网站架构中,Web Server(如Apache)只是内容的分发者。举个栗子,如果客户端请求的是 index.html,那么Web Server会去文件系统中找到这个文件,发送给浏览器,这里分发的是静态数据。 如果请求的是 index.php,根据配置文件,Web Server知道这个不 阅读全文

posted @ 2019-05-18 09:53 yipianchuyun 阅读(188) 评论(0) 推荐(0)

导航