随笔分类 -  php-fpm

摘要:open_basedir=/test/uploadopen_basedir可将用户访问文件的活动范围限制在指定的区域,通常是其家目录的路径,也可用符号"."来代表当前目录。注意用open_basedir指定的限制实际上是前缀,而不是目录名。举例来说: 若"open_basedir = /dir/us... 阅读全文
posted @ 2016-01-14 19:11 xiaohui163 阅读(318) 评论(0) 推荐(0) 编辑
摘要:关闭socket分为主动关闭(Active closure)和被动关闭(Passive closure)两种情况。前者是指有本地主机主动发起的关闭;而后者则是指本地主机检测到远程主机发起关闭之后,作出回应,从而关闭整个连接。将关闭部分的状态转移摘出来,就得到了下图:产生原因通过图上,我们来分析,什么... 阅读全文
posted @ 2016-01-12 21:07 xiaohui163 阅读(1739) 评论(0) 推荐(0) 编辑
摘要:1 yum -y install openssl-devel 2 3 ./configure --prefix=/wdzj/lnmp/lib/curl --with-ssl 4 5 make 6 7 make install 阅读全文
posted @ 2015-12-31 16:13 xiaohui163 阅读(525) 评论(0) 推荐(0) 编辑
摘要:这个是报的错[Composer\Downloader\TransportException] The "http://packages.zendframework.com/packages.json" file could not be downloaded: SSL operation fail... 阅读全文
posted @ 2015-12-14 14:23 xiaohui163 阅读(601) 评论(0) 推荐(0) 编辑
摘要:wget http://pecl.php.net/get/redis-2.2.5.tgztar xvf redis-2.2.5.tgz -C /usr/local/srccd /usr/local/src/redis-2.2.5#开始编译安装phpize./configure --with-php-... 阅读全文
posted @ 2015-11-03 11:59 xiaohui163 阅读(168) 评论(0) 推荐(0) 编辑
摘要:[root@snstest ~]#tar zxvf FastDFS_v3.06.tar.gz[root@snstest ~]#cd FastDFS[root@ FastDFS ~]#./make.sh[root@ FastDFS ~]#./make.sh install[root@ FastDFS ... 阅读全文
posted @ 2015-11-03 11:37 xiaohui163 阅读(1976) 评论(0) 推荐(0) 编辑
摘要:IsSMTP(); // 使用SMTP方式发送$mail->Host = "smtp.163.com"; // 您的企业邮局域名$mail->SMTPAuth = true;$mail->Username = "aa@163.com";$mail->Password = "xxx";$mail->F... 阅读全文
posted @ 2015-10-30 17:41 xiaohui163 阅读(311) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示