随笔分类 - php-fpm
摘要:open_basedir=/test/uploadopen_basedir可将用户访问文件的活动范围限制在指定的区域,通常是其家目录的路径,也可用符号"."来代表当前目录。注意用open_basedir指定的限制实际上是前缀,而不是目录名。举例来说: 若"open_basedir = /dir/us...
阅读全文
摘要:关闭socket分为主动关闭(Active closure)和被动关闭(Passive closure)两种情况。前者是指有本地主机主动发起的关闭;而后者则是指本地主机检测到远程主机发起关闭之后,作出回应,从而关闭整个连接。将关闭部分的状态转移摘出来,就得到了下图:产生原因通过图上,我们来分析,什么...
阅读全文
摘要:1 yum -y install openssl-devel 2 3 ./configure --prefix=/wdzj/lnmp/lib/curl --with-ssl 4 5 make 6 7 make install
阅读全文
摘要:这个是报的错[Composer\Downloader\TransportException] The "http://packages.zendframework.com/packages.json" file could not be downloaded: SSL operation fail...
阅读全文
摘要: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-...
阅读全文
摘要:[root@snstest ~]#tar zxvf FastDFS_v3.06.tar.gz[root@snstest ~]#cd FastDFS[root@ FastDFS ~]#./make.sh[root@ FastDFS ~]#./make.sh install[root@ FastDFS ...
阅读全文
摘要:IsSMTP(); // 使用SMTP方式发送$mail->Host = "smtp.163.com"; // 您的企业邮局域名$mail->SMTPAuth = true;$mail->Username = "aa@163.com";$mail->Password = "xxx";$mail->F...
阅读全文